Fixed Construction Consent Birthdate
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user