sforkowany z mirror/friendica
Don't perform actions on empty conditions
rodzic
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);
|
||||
|
|
Ładowanie…
Reference in New Issue