Fix missing load langs for my company info in user block
This commit is contained in:
parent
3859e7f00e
commit
baf0dda19c
1 changed files with 2 additions and 0 deletions
|
|
@ -1964,6 +1964,8 @@ function top_menu_user($hideloginname = 0, $urllogout = '')
|
|||
global $dolibarr_main_authentication, $dolibarr_main_demo;
|
||||
global $menumanager;
|
||||
|
||||
$langs->loadLangs(array('companies'));
|
||||
|
||||
$userImage = $userDropDownImage = '';
|
||||
if (!empty($user->photo)) {
|
||||
$userImage = Form::showphoto('userphoto', $user, 0, 0, 0, 'photouserphoto userphoto', 'small', 0, 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue