From e80564c10679c25310b505e65fc274d871e5ecd4 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 12 Feb 2024 14:46:05 +0100 Subject: [PATCH] 1.5.00 supprimer un echo inutile --- core/core.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/core.php b/core/core.php index 1719725..a1a5144 100644 --- a/core/core.php +++ b/core/core.php @@ -1447,7 +1447,7 @@ class common return $courses; case self::GROUP_MEMBER: foreach ($courses as $courseId => $value) { - // Affiche les espaces du participant et les espaces anonymes + // Affiche les espaces du participant et les espaces anonymes $students = $this->getData(['enrolment', $courseId]); if ( isset($students[$userId]) === true || @@ -1461,7 +1461,6 @@ class common foreach ($courses as $courseId => $value) { // Affiche les espaces anonymes if ($this->getData(['course', $courseId, 'enrolment']) === self::COURSE_ENROLMENT_GUEST) { - echo $this->getData(['course', $courseId, 'access']) ; $filter[$courseId] = $courses[$courseId]; } }