Don't perform actions on empty conditions

2022.09-rc
Michael 2020-09-07 05:00:17 +00:00
rodzic 4852458645
commit 90315e3434
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

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