diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php index 676ad72faea..e544a6db99a 100644 --- a/htdocs/core/class/html.formother.class.php +++ b/htdocs/core/class/html.formother.class.php @@ -822,8 +822,8 @@ class FormOther $arrayboxtoactivatelabel=array(); if (! empty($user->conf->$confuserzone)) { - foreach($boxactivated as $box) - { + foreach($boxactivated as $box) + { if (! empty($boxidactivatedforuser[$box->id])) continue; // Already visible for user $arrayboxtoactivatelabel[$box->id]=$box->boxlabel; // We keep only boxes not shown for user, to show into combo list } @@ -861,7 +861,9 @@ class FormOther if ($nbboxactivated) { - $emptybox=new ModeleBoxes($db); + $langs->load("boxes"); + + $emptybox=new ModeleBoxes($db); print ''; print '
'."\n";