1410 masque ce sélecteur à l'admin

This commit is contained in:
Fred Tempez 2024-01-20 21:42:21 +01:00
parent 8cfe76bdf6
commit dea8568992

View File

@ -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" >';