Skip to content
Snippets Groups Projects
Commit 3f8b1f1d authored by jaapjansma's avatar jaapjansma
Browse files

update

parent 487914c5
No related branches found
No related tags found
No related merge requests found
...@@ -109,7 +109,7 @@ class SimpleWhereClause implements WhereClauseInterface { ...@@ -109,7 +109,7 @@ class SimpleWhereClause implements WhereClauseInterface {
return "(`{$this->table_alias}`.`{$this->field}` {$this->operator} {$this->value} OR `{$this->table_alias}`.`{$this->field}` IS NULL)"; return "(`{$this->table_alias}`.`{$this->field}` {$this->operator} {$this->value} OR `{$this->table_alias}`.`{$this->field}` IS NULL)";
break; break;
case 'IS NULL': case 'IS NULL':
return "(`{$this->table_alias}`.`{$this->field}` {$this->operator} OR `{$this->table_alias}`.`{$this->field} != '')"; return "(`{$this->table_alias}`.`{$this->field}` {$this->operator} OR `{$this->table_alias}`.`{$this->field}` != '')";
break; break;
case 'IS NOT NULL': case 'IS NOT NULL':
return "(`{$this->table_alias}`.`{$this->field}` {$this->operator} AND `{$this->table_alias}`.`{$this->field}` != '')"; return "(`{$this->table_alias}`.`{$this->field}` {$this->operator} AND `{$this->table_alias}`.`{$this->field}` != '')";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment