From db7f7a420bd15587dbba151a016312be49f2dc4f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 9 Jul 2016 16:12:35 +0200 Subject: [PATCH] Fix loading language --- htdocs/core/boxes/box_graph_invoices_permonth.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/core/boxes/box_graph_invoices_permonth.php b/htdocs/core/boxes/box_graph_invoices_permonth.php index 1b54d917d05..d098106724c 100644 --- a/htdocs/core/boxes/box_graph_invoices_permonth.php +++ b/htdocs/core/boxes/box_graph_invoices_permonth.php @@ -132,7 +132,9 @@ class box_graph_invoices_permonth extends ModeleBoxes $mesg = $px1->isGraphKo(); if (! $mesg) { - $px1->SetData($data1); + $langs->load("bills"); + + $px1->SetData($data1); unset($data1); $px1->SetPrecisionY(0); $i=$startyear;$legend=array();