Don't perform actions on empty conditions
This commit is contained in:
parent
4852458645
commit
90315e3434
|
@ -677,6 +677,10 @@ class DBA
|
|||
$result = [];
|
||||
|
||||
foreach ($conditions as $key => $condition) {
|
||||
if (!$condition) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$condition = self::collapseCondition($condition);
|
||||
|
||||
$conditionStrings[] = array_shift($condition);
|
||||
|
|
Loading…
Reference in a new issue