Skip to content

Commit

Permalink
Update box_graph_product_distribution.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sonikf authored Jan 12, 2025
1 parent 8a7fdd0 commit 56efa67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/core/boxes/box_graph_product_distribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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";
Expand Down Expand Up @@ -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';
Expand Down

0 comments on commit 56efa67

Please sign in to comment.