Merge branch 'ConstructionConsent/fix-event' into 'master'
Construction consent/fix event See merge request fronk/thetool!1109
This commit is contained in:
@@ -583,7 +583,7 @@ class ConstructionConsent extends mfBaseModel {
|
|||||||
if (array_key_exists("cwo", $filter)) {
|
if (array_key_exists("cwo", $filter)) {
|
||||||
$where .= " AND EXISTS
|
$where .= " AND EXISTS
|
||||||
(SELECT 1 FROM ConstructionConsentOwner co WHERE co.constructionconsent_id = ConstructionConsent.id AND
|
(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;
|
// phpinfo(); exit;
|
||||||
define('mfUI',"web");
|
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")) {
|
if(file_exists("../config/config.php")) {
|
||||||
require("../config/config.php");
|
require("../config/config.php");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user