From d2d1306b438e776c26f36839e4ee9c7a3eac1ac9 Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Tue, 11 Mar 2025 09:37:27 +0100 Subject: [PATCH] Fixed Construction Consent Birthdate --- .../ConstructionConsentOwner/ConstructionConsentOwner.php | 2 +- .../ConstructionConsentOwnerController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/ConstructionConsentOwner/ConstructionConsentOwner.php b/application/ConstructionConsentOwner/ConstructionConsentOwner.php index d5294779c..7d63c89dc 100644 --- a/application/ConstructionConsentOwner/ConstructionConsentOwner.php +++ b/application/ConstructionConsentOwner/ConstructionConsentOwner.php @@ -103,7 +103,7 @@ class ConstructionConsentOwner extends mfBaseModel { $table_fields = [ "constructionconsent_id", "title", "firstname", "lastname", "street", "zip", "city", "country", - "phone", "phone2", "fax", "email", "status", "result", "create_by","edit_by","create","edit" + "phone", "phone2", "birthdate", "fax", "email", "status", "result", "create_by","edit_by","create","edit" ]; foreach($data as $field => $value) { diff --git a/application/ConstructionConsentOwner/ConstructionConsentOwnerController.php b/application/ConstructionConsentOwner/ConstructionConsentOwnerController.php index 0f924ce93..a32e9c6bd 100644 --- a/application/ConstructionConsentOwner/ConstructionConsentOwnerController.php +++ b/application/ConstructionConsentOwner/ConstructionConsentOwnerController.php @@ -89,7 +89,7 @@ class ConstructionConsentOwnerController extends mfBaseController $data["phone2"] = $r->phone2; $data["fax"] = $r->fax; $data["email"] = $r->email; - $date["birthdate"] = null; + $data["birthdate"] = null; if($r->birthdate) { try {