Fix
This commit is contained in:
parent
2eb46b4900
commit
3f2220bd6f
@ -1012,7 +1012,7 @@ class FormOther
|
|||||||
// $boxidactivatedforuser will be array of boxes choosed by user
|
// $boxidactivatedforuser will be array of boxes choosed by user
|
||||||
|
|
||||||
$selectboxlist = '';
|
$selectboxlist = '';
|
||||||
$boxactivated = InfoBox::listBoxes($this->db, 'activated', $areacode, (empty($user->conf->$confuserzone) ?null:$user), array(), 0); // Search boxes of common+user (or common only if user has no specific setup)
|
$boxactivated = InfoBox::listBoxes($db, 'activated', $areacode, (empty($user->conf->$confuserzone) ?null:$user), array(), 0); // Search boxes of common+user (or common only if user has no specific setup)
|
||||||
|
|
||||||
$boxidactivatedforuser = array();
|
$boxidactivatedforuser = array();
|
||||||
foreach ($boxactivated as $box)
|
foreach ($boxactivated as $box)
|
||||||
@ -1141,7 +1141,7 @@ class FormOther
|
|||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array("boxes", "projects"));
|
$langs->loadLangs(array("boxes", "projects"));
|
||||||
|
|
||||||
$emptybox = new ModeleBoxes($this->db);
|
$emptybox = new ModeleBoxes($db);
|
||||||
|
|
||||||
$boxlista .= "\n<!-- Box left container -->\n";
|
$boxlista .= "\n<!-- Box left container -->\n";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user