Check if bool operators in find conditions are empty.

This commit is contained in:
Nicolas 2012-11-17 12:39:08 +01:00
parent 4ebe754076
commit 9c7f357029

View file

@ -2464,6 +2464,10 @@ class DboSource extends DataSource {
$not = 'NOT ';
}
if (empty($value)) {
continue;
}
if (empty($value[1])) {
if ($not) {
$out[] = $not . '(' . $value[0] . ')';