N°7054 - Rework the UpdateImpactedItems calls on Tickets

This commit is contained in:
Eric Espie
2023-12-12 10:40:48 +01:00
parent 797aae58e3
commit e748d72c03
4 changed files with 18 additions and 11 deletions

View File

@@ -1493,10 +1493,9 @@
<code><![CDATA[ protected function OnInsert()
{
parent::OnInsert();
$this->ComputeImpactedItems();
$this->SetIfNull('last_update', time());
$this->SetIfNull('start_date', time());
parent::OnInsert();
$this->SetIfNull('last_update', time());
$this->SetIfNull('start_date', time());
}]]></code>
</method>
<method id="OnUpdate">