From 3d62097d363afac6143cf74fc600e3f4f3d58d54 Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Wed, 16 Jul 2025 15:06:59 +0000 Subject: [PATCH] Construction consent/fix bugs --- .../ConstructionConsentOwner/ConstructionConsentOwner.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/ConstructionConsentOwner/ConstructionConsentOwner.php b/application/ConstructionConsentOwner/ConstructionConsentOwner.php index 22488194a..ba47ba443 100644 --- a/application/ConstructionConsentOwner/ConstructionConsentOwner.php +++ b/application/ConstructionConsentOwner/ConstructionConsentOwner.php @@ -231,7 +231,7 @@ class ConstructionConsentOwner extends mfBaseModel { } foreach($filter as $field => $value) - if(in_array($field, ["firstname", "lastname", "street", "zip", "city", "country", "phone", "phone2", "birthdate", "fax", "email"])) + if(in_array($field, ["company", "firstname", "lastname", "street", "zip", "city", "country", "phone", "phone2", "birthdate", "fax", "email"])) if(is_array($value)) { $where .= " AND $field IN ('".implode("','", $value)."')"; } else {