mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
#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:
@@ -158,9 +158,9 @@ abstract class TriggerOnObject extends Trigger
|
||||
public function DoActivate($aContextArgs)
|
||||
{
|
||||
$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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user