* Timesheet: Fix update via import without category or status cleared original

This commit is contained in:
nathangray 2020-04-14 14:32:46 -06:00
parent 5b115ec7d5
commit 32267f02c8

View File

@ -72,6 +72,10 @@ class timesheet_egw_record implements importexport_iface_egw_record
$this->timesheetentry[$_attribute_name] = $data; $this->timesheetentry[$_attribute_name] = $data;
} }
public function __unset($_attribute_name)
{
unset($this->timesheetentry[$_attribute_name]);
}
/** /**
* converts this object to array. * converts this object to array.
* @abstract We need such a function cause PHP5 * @abstract We need such a function cause PHP5