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

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