Skip to content

Commit

Permalink
Fix missing loading lang
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 19, 2016
1 parent 6ef70ad commit 7c445a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions htdocs/core/boxes/box_graph_invoices_permonth.php
Expand Up @@ -170,6 +170,8 @@ function loadBox($max=5)
$mesg = $px2->isGraphKo();
if (! $mesg)
{
$langs->load("bills");

$px2->SetData($data2);
unset($data2);
$px2->SetPrecisionY(0);
Expand Down
2 changes: 2 additions & 0 deletions htdocs/core/boxes/box_graph_invoices_supplier_permonth.php
Expand Up @@ -169,6 +169,8 @@ function loadBox($max=5)
$mesg = $px2->isGraphKo();
if (! $mesg)
{
$langs->load("bills");

$px2->SetData($data2);
unset($data2);
$px2->SetPrecisionY(0);
Expand Down

0 comments on commit 7c445a6

Please sign in to comment.