From 484b36c5aa3a6a467d74e191431b64974187c3c8 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 17 Sep 2018 09:31:32 +0200 Subject: [PATCH] Standardize and update code --- htdocs/core/class/html.formother.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php index f30e2aed325..f79e9eea53d 100644 --- a/htdocs/core/class/html.formother.class.php +++ b/htdocs/core/class/html.formother.class.php @@ -1149,8 +1149,8 @@ class FormOther if ($nbboxactivated) { - $langs->load("boxes"); - $langs->load("projects"); + // Load translation files required by the page + $langs->loadLangs(array("boxes","projects")); $emptybox=new ModeleBoxes($db);