From 90644222d8175cc57a73dcc7a8021729f28d9400 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Sun, 16 Sep 2018 11:30:06 +0200 Subject: [PATCH] Standardize and update code --- htdocs/fichinter/stats/index.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/htdocs/fichinter/stats/index.php b/htdocs/fichinter/stats/index.php index 7a68bef34ec..b3d5247e67d 100644 --- a/htdocs/fichinter/stats/index.php +++ b/htdocs/fichinter/stats/index.php @@ -49,10 +49,8 @@ $endyear=$year; $object_status=GETPOST('object_status'); -$langs->load('interventions'); -$langs->load('companies'); -$langs->load('other'); -$langs->load('suppliers'); +// Load translation files required by the page +$langs->loadLangs(array("interventions","suppliers","companies","other")); /*