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);