Fix: load at wrong place
This commit is contained in:
parent
66921cf24a
commit
b89b74e933
@ -822,7 +822,6 @@ class FormOther
|
|||||||
$arrayboxtoactivatelabel=array();
|
$arrayboxtoactivatelabel=array();
|
||||||
if (! empty($user->conf->$confuserzone))
|
if (! empty($user->conf->$confuserzone))
|
||||||
{
|
{
|
||||||
$langs->load("boxes");
|
|
||||||
foreach($boxactivated as $box)
|
foreach($boxactivated as $box)
|
||||||
{
|
{
|
||||||
if (! empty($boxidactivatedforuser[$box->id])) continue; // Already visible for user
|
if (! empty($boxidactivatedforuser[$box->id])) continue; // Already visible for user
|
||||||
@ -862,6 +861,8 @@ class FormOther
|
|||||||
|
|
||||||
if ($nbboxactivated)
|
if ($nbboxactivated)
|
||||||
{
|
{
|
||||||
|
$langs->load("boxes");
|
||||||
|
|
||||||
$emptybox=new ModeleBoxes($db);
|
$emptybox=new ModeleBoxes($db);
|
||||||
|
|
||||||
print '<table width="100%" class="notopnoleftnoright">';
|
print '<table width="100%" class="notopnoleftnoright">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user