mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 01:28:47 +02:00
N°7552 - Fix mentions during object creation
This commit is contained in:
@@ -872,6 +872,7 @@ JS;
|
||||
$aSearchParams = ['needle' => "%$sNeedle%"];
|
||||
|
||||
// Retrieve restricting scopes from triggers if any
|
||||
$oHostObj = null;
|
||||
if (utils::IsNotNullOrEmptyString($sHostClass) && ($iHostId > 0)) {
|
||||
$oHostObj = MetaModel::GetObject($sHostClass, $iHostId);
|
||||
$aSearchParams['this'] = $oHostObj;
|
||||
|
||||
Reference in New Issue
Block a user