Fix warning
This commit is contained in:
parent
98fc9ffe14
commit
b44e35e8ef
1 changed files with 1 additions and 1 deletions
|
|
@ -342,7 +342,7 @@ function print_left_auguria_menu($db, $menu_array_before, $menu_array_after, &$t
|
|||
$newmenu = $menuArbo->menuLeftCharger($newmenu, $mainmenu, $leftmenu, ($user->socid ? 1 : 0), 'auguria', $tabMenu);
|
||||
|
||||
// We update newmenu for special dynamic menus
|
||||
if (isModEnabled('banque') && $user->rights->banque->lire && $mainmenu == 'bank') { // Entry for each bank account
|
||||
if (isModEnabled('banque') && $user->hasRight('banque', 'lire') && $mainmenu == 'bank') { // Entry for each bank account
|
||||
include_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php'; // Required for to get Account::TYPE_CASH for example
|
||||
|
||||
$sql = "SELECT rowid, label, courant, rappro, courant";
|
||||
|
|
|
|||
Loading…
Reference in a new issue