1410 bug clé
This commit is contained in:
parent
dea8568992
commit
511b90e7a8
@ -498,7 +498,7 @@ class layout extends common
|
|||||||
$courses = $this->getData([('course')]);
|
$courses = $this->getData([('course')]);
|
||||||
$courses = helper::arraycolumn($courses, 'title', 'SORT_ASC');
|
$courses = helper::arraycolumn($courses, 'title', 'SORT_ASC');
|
||||||
if (
|
if (
|
||||||
$this->getUser('group') < self::GROUP_MEMBER
|
$this->getUser('group') <= self::GROUP_MEMBER
|
||||||
&& $this->getData(['theme', 'menu', 'selectSpace']) === true
|
&& $this->getData(['theme', 'menu', 'selectSpace']) === true
|
||||||
) {
|
) {
|
||||||
if ($courses) {
|
if ($courses) {
|
||||||
|
@ -1300,7 +1300,7 @@ class course extends common
|
|||||||
]);
|
]);
|
||||||
break;
|
break;
|
||||||
case self::COURSE_ENROLMENT_SELF_KEY:
|
case self::COURSE_ENROLMENT_SELF_KEY:
|
||||||
if ($this->getInput('courseSwapEnrolmentKey', helper::FILTER_PASSWORD, true) === $this->getData(['course', $courseId, 'enrolmentKey']))
|
if ($this->getInput('courseSwapEnrolmentKey', helper::FILTER_STRING_SHORT, true) === $this->getData(['course', $courseId, 'enrolmentKey']))
|
||||||
{
|
{
|
||||||
$this->courseEnrolUser($courseId, $userId);
|
$this->courseEnrolUser($courseId, $userId);
|
||||||
// Stocker la sélection
|
// Stocker la sélection
|
||||||
|
Loading…
Reference in New Issue
Block a user