Merge pull request #21220 from ptibogxiv/patch-17
Fix php 8 compatibility
This commit is contained in:
commit
d53188a346
@ -217,7 +217,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
||||
$linkback = '<a href="' . $listLink . '?restore_lastsearch_values=1' . (!empty($socid) ? '&socid=' . $socid : '') . '">' . $langs->trans("BackToList") . '</a>';
|
||||
|
||||
$morehtmlref = '<div class="refid">';
|
||||
$morehtmlref.= $object->label;
|
||||
if (isset($object->label)) $morehtmlref.= $object->label;
|
||||
$morehtmlref .= '</div>';
|
||||
|
||||
dol_banner_tab($object, 'id', $linkback, 1, 'rowid', 'rowid', $morehtmlref, '&objecttype='.$objecttype);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user