This commit is contained in:
2020-01-30 15:04:18 +01:00
parent 0adc511d07
commit 34fd64e5b9

View File

@@ -285,7 +285,7 @@ abstract class ApiCommand extends ApiParameter
}
} elseif (in_array($valoper['op'], $ops)) {
$condition .= $field . ' ' . $valoper['op'] . ':' . $cleanfield;
$query_fields[':' . $cleanfield] = $valoper['value'] ? '';
$query_fields[':' . $cleanfield] = $valoper['value'] ?? '';
} else {
continue;
}