Construction consent/fix event
This commit is contained in:
@@ -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']."%')";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user