mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX #33003
This commit is contained in:
parent
3a212e4ddb
commit
2954234420
|
|
@ -2597,7 +2597,7 @@ function top_menu_user($hideloginname = 0, $urllogout = '')
|
|||
$langs->load('companies');
|
||||
|
||||
$userImage = $userDropDownImage = '';
|
||||
if (!empty($user->photo)) {
|
||||
if (!empty($user->photo) || isModEnabled('gravatar')) {
|
||||
$userImage = Form::showphoto('userphoto', $user, 0, 0, 0, 'photouserphoto userphoto', 'small', 0, 1);
|
||||
$userDropDownImage = Form::showphoto('userphoto', $user, 0, 0, 0, 'dropdown-user-image', 'small', 0, 1);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user