From eaa507bc7076f48d988774fd26825b2efa14feda Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 8 Feb 2021 16:21:35 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B03245=20-=20Move=20filter=20of=20trigger?= =?UTF-8?q?=20on=20object=20update=20after=20object=20update=20(fix=20attr?= =?UTF-8?q?ibute=20change=20detection)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/trigger.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/trigger.class.inc.php b/core/trigger.class.inc.php index aa718d537..6f980844b 100644 --- a/core/trigger.class.inc.php +++ b/core/trigger.class.inc.php @@ -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) {