Construction consent/fix event

This commit is contained in:
Luca Haid
2025-03-12 14:07:36 +00:00
parent 00aa931611
commit e887dd9019
2 changed files with 9 additions and 1 deletions

View File

@@ -583,7 +583,7 @@ class ConstructionConsent extends mfBaseModel {
if (array_key_exists("cwo", $filter)) {
$where .= " AND EXISTS
(SELECT 1 FROM ConstructionConsentOwner co WHERE co.constructionconsent_id = ConstructionConsent.id AND
(co.firstname LIKE '%".$filter['cwo']."%' OR co.lastname LIKE '%".$filter['cwo']."%'))";
LOWER(CONCAT(co.FIRST_NAME, ' ', co.LAST_NAME)) LIKE LOWER('%".$filter['cwo']."%')";
}

View File

@@ -5,6 +5,14 @@
// phpinfo(); exit;
define('mfUI',"web");
// set max memory to 4GB
ini_set('memory_limit', '4096M');
//display errors
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
ini_set('error_reporting', E_ALL);
if(file_exists("../config/config.php")) {
require("../config/config.php");
} else {