diff --git a/htdocs/core/boxes/box_graph_product_distribution.php b/htdocs/core/boxes/box_graph_product_distribution.php index 8724b16b02a15..f6a8b850b9399 100644 --- a/htdocs/core/boxes/box_graph_product_distribution.php +++ b/htdocs/core/boxes/box_graph_product_distribution.php @@ -165,7 +165,7 @@ public function loadBox($max = 5) if (empty($data2)) { $showpointvalue = 0; $nocolor = 1; - $data2 = array(array(0=>$langs->trans("None"), 1=>1)); + $data2 = array(array(0=>$langs->transnoentitiesnoconv("None"), 1=>1)); } $filenamenb = $dir."/prodserforpropal-".$year.".png"; @@ -228,7 +228,7 @@ public function loadBox($max = 5) if (empty($data3)) { $showpointvalue = 0; $nocolor = 1; - $data3 = array(array(0=>$langs->trans("None"), 1=>1)); + $data3 = array(array(0=>$langs->transnoentitiesnoconv("None"), 1=>1)); } $filenamenb = $dir."/prodserfororder-".$year.".png"; @@ -293,7 +293,7 @@ public function loadBox($max = 5) if (empty($data1)) { $showpointvalue = 0; $nocolor = 1; - $data1 = array(array(0=>$langs->trans("None"), 1=>1)); + $data1 = array(array(0=>$langs->transnoentitiesnoconv("None"), 1=>1)); } $filenamenb = $dir."/prodserforinvoice-".$year.".png"; $fileurlnb = DOL_URL_ROOT.'/viewimage.php?modulepart=productstats&file=prodserforinvoice-'.$year.'.png';