Merge pull request #18601 from frederic34/patch-8

fix #17634
This commit is contained in:
Laurent Destailleur 2021-09-05 01:07:46 +02:00 committed by GitHub
commit 68bc85124b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1766,6 +1766,7 @@ function top_menu_user($hideloginname = 0, $urllogout = '')
global $dolibarr_main_authentication, $dolibarr_main_demo;
global $menumanager;
$langs->load('companies');
$userImage = $userDropDownImage = '';
if (!empty($user->photo))
{