From 56efa6743248743872739379e24b8adb4a650a7c Mon Sep 17 00:00:00 2001 From: sonikf <93765174+sonikf@users.noreply.github.com> Date: Sun, 12 Jan 2025 03:31:01 +0200 Subject: [PATCH] Update box_graph_product_distribution.php --- htdocs/core/boxes/box_graph_product_distribution.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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';