1
0
Fork 0

Don't perform actions on empty conditions

This commit is contained in:
Michael 2020-09-07 05:00:17 +00:00
parent 4852458645
commit 90315e3434

View file

@ -677,6 +677,10 @@ class DBA
$result = [];
foreach ($conditions as $key => $condition) {
if (!$condition) {
continue;
}
$condition = self::collapseCondition($condition);
$conditionStrings[] = array_shift($condition);