Fix PHP 8.1.7
This commit is contained in:
parent
2865b72b65
commit
274dd343f7
@ -158,8 +158,8 @@ if (empty($reshook)) {
|
||||
|
||||
// Mass actions
|
||||
$objectclass = 'AccountingAccount';
|
||||
$permissiontoread = $user->rights->accounting->read;
|
||||
$permissiontodelete = $user->rights->accounting->delete;
|
||||
$permissiontoread = $user->hasRight('accounting','read');
|
||||
$permissiontodelete = $user->hasRight('accounting','delete');
|
||||
$uploaddir = $conf->accounting->dir_output;
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_massactions.inc.php';
|
||||
}
|
||||
@ -469,7 +469,7 @@ if ($result) {
|
||||
|
||||
print '<span class="opacitymedium">'.$langs->trans("DescVentilTodoCustomer").'</span></br><br>';
|
||||
|
||||
if ($msg) {
|
||||
if (!empty($msg)) {
|
||||
print $msg.'<br>';
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user