fix php 8 warning (and error)
This commit is contained in:
parent
5466fd0562
commit
c7c07ef778
@ -222,7 +222,7 @@ function ordersupplier_prepare_head(CommandeFournisseur $object)
|
||||
$h++;
|
||||
|
||||
$head[$h][0] = DOL_URL_ROOT.'/fourn/commande/info.php?id='.$object->id;
|
||||
$head[$h][1] .= $langs->trans("Events");
|
||||
$head[$h][1] = $langs->trans("Events");
|
||||
if (isModEnabled('agenda') && (!empty($user->rights->agenda->myactions->read) || !empty($user->rights->agenda->allactions->read))) {
|
||||
$head[$h][1] .= '/';
|
||||
$head[$h][1] .= $langs->trans("Agenda");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user