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:
Stephen Abello
2020-08-10 14:16:43 +02:00
parent 440cda87b1
commit 4195cd011c
4 changed files with 17 additions and 7 deletions

View File

@@ -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))
{