mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°2875 - Fix missing argument ":this" when submitting an entry in the activity panel
This commit is contained in:
@@ -613,7 +613,9 @@ class TriggerOnObjectMention extends TriggerOnObject
|
||||
$oSearch = DBObjectSearch::FromOQL($sFilter);
|
||||
$oSearch->AddCondition('id', $oObject->GetKey(), '=');
|
||||
$oSearch->AddCondition('finalclass', get_class($oObject), '=');
|
||||
$oSet = new DBObjectSet($oSearch);
|
||||
|
||||
$aParams = $oObject->ToArgs('this');
|
||||
$oSet = new DBObjectSet($oSearch, [], $aParams);
|
||||
$bRet = $oSet->CountExceeds(0);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user