N°1703 The dates are no longer reset when inserting a Ticket

Could cause problems when importing using REST API or using form prefill
This commit is contained in:
Pierre Goiffon
2018-10-23 14:15:39 +02:00
parent d61a8ba160
commit 34552214bf
8 changed files with 56 additions and 12 deletions

View File

@@ -503,8 +503,8 @@
{
parent::OnInsert();
$this->UpdateImpactedItems();
$this->Set('creation_date', time());
$this->Set('last_update', time());
$this->SetIfNull('creation_date', time());
$this->SetIfNull('last_update', time());
}]]></code>
</method>
<method id="OnUpdate">