From 34fd64e5b9d0481836c77937bc410ba53a9c16d9 Mon Sep 17 00:00:00 2001 From: Udo Waechter Date: Thu, 30 Jan 2020 15:04:18 +0100 Subject: [PATCH] theme --- lib/Froxlor/Api/ApiCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Froxlor/Api/ApiCommand.php b/lib/Froxlor/Api/ApiCommand.php index b0fa6768..9b7dcc6e 100644 --- a/lib/Froxlor/Api/ApiCommand.php +++ b/lib/Froxlor/Api/ApiCommand.php @@ -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; }