N°°4463 Trigger : remove user rights check when controlling filter

This commit is contained in:
Pierre Goiffon
2021-11-19 15:20:21 +01:00
parent d8c4251c03
commit 3559425fc1

View File

@@ -263,6 +263,7 @@ abstract class TriggerOnObject extends Trigger
{
$oSearch = DBObjectSearch::FromOQL($sFilter);
$oSearch->AddCondition('id', $iObjectId, '=');
$oSearch->AllowAllData();
$oSet = new DBObjectSet($oSearch);
$bRet = ($oSet->Count() > 0);
}