Merge pull request #21220 from ptibogxiv/patch-17

Fix php 8 compatibility
This commit is contained in:
Laurent Destailleur 2022-06-12 18:45:58 +02:00 committed by GitHub
commit d53188a346
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);