forked from ZwiiCMS-Team/ZwiiCampus
1410 masque ce sélecteur à l'admin
This commit is contained in:
parent
8cfe76bdf6
commit
dea8568992
@ -498,9 +498,8 @@ class layout extends common
|
||||
$courses = $this->getData([('course')]);
|
||||
$courses = helper::arraycolumn($courses, 'title', 'SORT_ASC');
|
||||
if (
|
||||
//$this->getUser('group') === self::GROUP_MEMBER
|
||||
// &&
|
||||
$this->getData(['theme', 'menu', 'selectSpace']) === true
|
||||
$this->getUser('group') < self::GROUP_MEMBER
|
||||
&& $this->getData(['theme', 'menu', 'selectSpace']) === true
|
||||
) {
|
||||
if ($courses) {
|
||||
$itemsRight .= '<li><select id="menuSelectCourse" >';
|
||||
|
Loading…
Reference in New Issue
Block a user