mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 07:42:17 +02:00
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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user