diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 4ccad75628f..e96a7121f09 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -12315,7 +12315,7 @@ class Form $ret .= ''; $ret .= "\n"; - $ret .= ''; + $ret .= ''; $ret .= ''; $ret .= ''; diff --git a/htdocs/core/customreports.php b/htdocs/core/customreports.php index 2a29ea2082c..084caf97c0c 100644 --- a/htdocs/core/customreports.php +++ b/htdocs/core/customreports.php @@ -633,7 +633,8 @@ if (!defined('MAIN_CUSTOM_REPORT_KEEP_GRAPH_ONLY')) { foreach ($newarrayoftype as $tmpkey => $tmpval) { - $newarrayoftype[$tmpkey]['label'] = img_picto('', $tmpval['picto'], 'class="pictofixedwidth"').$langs->trans($tmpval['label']); + $newarrayoftype[$tmpkey]['data-html'] = img_picto('', $tmpval['picto'], 'class="pictofixedwidth"').$langs->trans($tmpval['label']); + $newarrayoftype[$tmpkey]['label'] = $langs->trans($tmpval['label']); } print '