fix tooltip project

This commit is contained in:
Frédéric FRANCE 2023-02-15 22:02:45 +01:00
parent 723708f13d
commit 26452c9644

View File

@ -1323,8 +1323,7 @@ class Project extends CommonObject
$dataparams = ''; $dataparams = '';
if (getDolGlobalInt('MAIN_ENABLE_AJAX_TOOLTIP')) { if (getDolGlobalInt('MAIN_ENABLE_AJAX_TOOLTIP')) {
$classfortooltip = 'classforajaxtooltip'; $classfortooltip = 'classforajaxtooltip';
$dataparams = ' data-params='.json_encode($params); $dataparams = " data-params='".json_encode($params)."'";
// $label = $langs->trans('Loading');
} }
$label = implode($this->getTooltipContentArray($params)); $label = implode($this->getTooltipContentArray($params));