mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 06:28:46 +02:00
🐛 Fix notifications tab in objects no longer displaying items (regression introduced by a9bd5a8)
This commit is contained in:
@@ -678,7 +678,8 @@ EOF
|
||||
foreach($aNotificationClasses as $sNotifClass)
|
||||
{
|
||||
$aNotifSearches[$sNotifClass] = DBObjectSearch::FromOQL("SELECT $sNotifClass AS Ev JOIN Trigger AS T ON Ev.trigger_id = T.id WHERE T.id IN (:triggers) AND Ev.object_id = :id");
|
||||
$oNotifSet = new DBObjectSet($aNotifSearches[$sNotifClass], array(), $aParams);
|
||||
$aNotifSearches[$sNotifClass]->SetInternalParams($aParams);
|
||||
$oNotifSet = new DBObjectSet($aNotifSearches[$sNotifClass], array());
|
||||
$iNotifsCount += $oNotifSet->Count();
|
||||
}
|
||||
// Display notifications regarding the object: on block per subclass to have the intersting columns
|
||||
|
||||
Reference in New Issue
Block a user