Added fullcustomer (Xinonkunde) as addresstype, will create fibu account

This commit is contained in:
Frank Schubert
2025-01-07 15:07:43 +01:00
parent e20af3eca5
commit 0a48808cfe
5 changed files with 53 additions and 2 deletions
+2 -1
View File
@@ -238,7 +238,8 @@ class mfBaseModel {
}
protected function getChangedFields($include_system = false) {
if(!$this->_old_data->id) return [];
if(!is_object($this->_old_data) || !property_exists($this->_old_data, "id") || !$this->_old_data->id) return [];
if(!is_object($this->data) || !is_object($this->_old_data)) {
return [];
}