Construction consent/fix bugs
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user