mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 14:08:46 +02:00
Fix warning PHP seen in N°3702 - Migrate module to new UIBlock system : Follow-up forms without authentication
This commit is contained in:
@@ -578,7 +578,11 @@ HTML
|
||||
$aContactPicturesCache = array();
|
||||
$aPeerColorClassCache = array();
|
||||
// Note: Yes, the config. param. is named after the backoffice element but we hope that we will "soon" have some kind of "light" activity panel in the portal too, so we keep this name.
|
||||
$bHideContactPicture = in_array(PORTAL_ID, utils::GetConfig()->Get('activity_panel.hide_avatars'));
|
||||
$bHideContactPicture = false;
|
||||
if (defined('PORTAL_ID'))
|
||||
{
|
||||
$bHideContactPicture= in_array(PORTAL_ID, utils::GetConfig()->Get('activity_panel.hide_avatars'));
|
||||
}
|
||||
// Current user
|
||||
$iCurrentUserId = UserRights::GetUserId();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user