Menu

#1 Postgresql-related Bug in Query

open
nobody
None
5
2008-08-25
2008-08-25
Anonymous
No

The file DBEngine.class.php produces PostgreSQL-incompatible SQL (an empty WHERE-Statement)

The following patch can correct this:

// Get where clause for recipient email address(es)
$recipEmailClause = $this->convertEmailaddresses2SQL($emailaddresses);
if ($recipEmailClause == "()" ) {
$recipEmailClause = "(1=1)";
}

Discussion


Log in to post a comment.