From 634199780b4b842651febf94e006e9c1d2547260 Mon Sep 17 00:00:00 2001 From: Andreas Grundler Date: Fri, 29 Nov 2019 19:22:43 +0100 Subject: [PATCH] Bugfix --- lib/Froxlor/Api/Commands/Certificates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Froxlor/Api/Commands/Certificates.php b/lib/Froxlor/Api/Commands/Certificates.php index 844e746e..cf216186 100644 --- a/lib/Froxlor/Api/Commands/Certificates.php +++ b/lib/Froxlor/Api/Commands/Certificates.php @@ -209,7 +209,7 @@ class Certificates extends \Froxlor\Api\ApiCommand implements \Froxlor\Api\Resou } else { $certs_stmt_query .= "1 "; } - $certs_stmt = Database::prepare($certs_stmt_query . $this->getSearchWhere($query_fields) . $this->getOrderBy() . $this->getLimit()); + $certs_stmt = Database::prepare($certs_stmt_query . $this->getSearchWhere($query_fields, true) . $this->getOrderBy() . $this->getLimit()); $qry_params = array_merge($qry_params, $query_fields); Database::pexecute($certs_stmt, $qry_params, true, true); $result = array();