#1121: Regression: "filters" on Triggers had no effect. The regression was caused by the new way of computing placeholders "on the fly" (#803).

SVN:trunk[3671]
This commit is contained in:
Denis Flaven
2015-08-06 09:20:39 +00:00
parent 90d5f5b8cf
commit b5f75271b9

View File

@@ -158,9 +158,9 @@ abstract class TriggerOnObject extends Trigger
public function DoActivate($aContextArgs) public function DoActivate($aContextArgs)
{ {
$bGo = true; $bGo = true;
if (isset($aContextArgs['this->id'])) if (isset($aContextArgs['this->object()']))
{ {
$bGo = $this->IsTargetObject($aContextArgs['this->id']); $bGo = $this->IsTargetObject($aContextArgs['this->object()']->GetKey());
} }
if ($bGo) if ($bGo)
{ {