mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°2847 * Fix wrong image name for default placeholder
* Close popupmenu when clicking on toggler a second time * Fix an error in newsroom menu
This commit is contained in:
@@ -1117,8 +1117,7 @@ class UserRights
|
||||
*/
|
||||
public static function GetContactPicture($sName = '')
|
||||
{
|
||||
// TODO: replace with console one
|
||||
$sPictureUrl = utils::GetAbsoluteUrlAppRoot().'images/user-pictures/' . appUserPreferences::GetPref('user_picture_placeholder', 'default-placeholder.png');
|
||||
$sPictureUrl = utils::GetAbsoluteUrlAppRoot().'images/user-pictures/' . appUserPreferences::GetPref('user_picture_placeholder', 'user-profile-default-256px.png');
|
||||
|
||||
if (empty($sName))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user