N°3245 - Move filter of trigger on object update after object update (fix attribute change detection)

This commit is contained in:
Eric
2021-02-08 16:21:35 +01:00
parent 91752b4068
commit eaa507bc70

View File

@@ -226,7 +226,7 @@ abstract class TriggerOnObject extends Trigger
{
/** @var \DBObject $oObject */
$oObject = $aContextArgs['this->object()'];
$bGo = $this->IsTargetObject($oObject->GetKey(), $oObject->ListChanges());
$bGo = $this->IsTargetObject($oObject->GetKey(), $oObject->ListPreviousValuesForUpdatedAttributes());
}
if ($bGo)
{