WIP Contract 2024-05-06
This commit is contained in:
@@ -52,6 +52,11 @@ class AddressModel {
|
||||
$me = new User();
|
||||
$me->loadMe();
|
||||
|
||||
if($model->phone == null) $model->phone = "";
|
||||
if($model->fax == null) $model->fax = "";
|
||||
if($model->mobile == null) $model->mobile = "";
|
||||
if($model->email == null) $model->email = "";
|
||||
|
||||
if (!is_numeric($model->create_by) && !$model->create_by) {
|
||||
$model->create_by = $me->id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user