fixed filter

This commit is contained in:
Luca Haid
2025-05-21 13:18:39 +02:00
parent 6a7cd9db07
commit b2c99e8bff

View File

@@ -524,6 +524,13 @@ FROM ConstructionConsent
}
}
if(array_key_exists("kg", $filter)) {
$ez = FronkDB::singleton()->escape($filter["kg"]);
if($ez) {
$where .= " AND kg='$ez'";
}
}
if(array_key_exists("gst", $filter)) {
$gst = FronkDB::singleton()->escape($filter["gst"]);
if($gst) {