mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02: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)
|
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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user