diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php index 47cab7e5fd2..2feec9eb821 100644 --- a/htdocs/core/class/html.formother.class.php +++ b/htdocs/core/class/html.formother.class.php @@ -822,7 +822,6 @@ class FormOther $arrayboxtoactivatelabel=array(); if (! empty($user->conf->$confuserzone)) { - $langs->load("boxes"); foreach($boxactivated as $box) { if (! empty($boxidactivatedforuser[$box->id])) continue; // Already visible for user @@ -862,6 +861,8 @@ class FormOther if ($nbboxactivated) { + $langs->load("boxes"); + $emptybox=new ModeleBoxes($db); print '