diff --git a/core/module/course/course.php b/core/module/course/course.php index f33081e..83c076e 100644 --- a/core/module/course/course.php +++ b/core/module/course/course.php @@ -89,7 +89,7 @@ class course extends common $author = isset($authorId) ? sprintf('%s %s', $this->getData(['user', $authorId, 'firstname']), $this->getData(['user', $authorId, 'lastname'])) : ''; - $info = sprintf('%s
Auteur : %s
Id : %s
', $courseValue['title'], $author, $courseId); + $info = sprintf('%s
Auteur : %s
Id : %s
', $courseValue['title'], $author, $categorieUrl, $courseId); $categorieUrl = helper::baseUrl() . 'course/swap/' . $courseId; $access = self::$courseAccess[$courseValue['access']]; $enrolment = self::$courseEnrolment[$courseValue['enrolment']]; @@ -97,7 +97,7 @@ class course extends common self::$courses[] = [ $info, //$author, - '
' . $description . '', + $description, template::button('categoryUser' . $courseId, [ 'href' => helper::baseUrl() . 'course/users/' . $courseId, 'value' => template::ico('users'),