From 7c445a6d660d0655c89c8e553a61d80422590b3a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 19 Jan 2016 12:06:11 +0100 Subject: [PATCH] Fix missing loading lang --- htdocs/core/boxes/box_graph_invoices_permonth.php | 2 ++ htdocs/core/boxes/box_graph_invoices_supplier_permonth.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/htdocs/core/boxes/box_graph_invoices_permonth.php b/htdocs/core/boxes/box_graph_invoices_permonth.php index 7b797b98ab029..3848960e5e946 100644 --- a/htdocs/core/boxes/box_graph_invoices_permonth.php +++ b/htdocs/core/boxes/box_graph_invoices_permonth.php @@ -170,6 +170,8 @@ function loadBox($max=5) $mesg = $px2->isGraphKo(); if (! $mesg) { + $langs->load("bills"); + $px2->SetData($data2); unset($data2); $px2->SetPrecisionY(0); diff --git a/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php b/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php index 31d9f81125778..0931d2d05df6a 100644 --- a/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php +++ b/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php @@ -169,6 +169,8 @@ function loadBox($max=5) $mesg = $px2->isGraphKo(); if (! $mesg) { + $langs->load("bills"); + $px2->SetData($data2); unset($data2); $px2->SetPrecisionY(0);