forked from ZwiiCMS-Team/ZwiiCampus
fix course index url
This commit is contained in:
parent
4392535cf5
commit
dbc9302e50
@ -82,7 +82,7 @@ class course extends common
|
||||
&& $this->getCoursesByUser($this->getUser('id'), $this->getUser('group'))
|
||||
) {
|
||||
foreach ($this->getCoursesByUser($this->getUser('id'), $this->getUser('group')) as $courseId => $courseValue) {
|
||||
$categorieUrl = helper::baseUrl() . 'course/suscribe/' . $courseId;
|
||||
$categorieUrl = helper::baseUrl() . 'course/swap/' . $courseId;
|
||||
$authorId = $this->getData(['course', $courseId, 'author']);
|
||||
$author = isset($authorId)
|
||||
? sprintf('%s %s', $this->getData(['user', $authorId, 'firstname']), $this->getData(['user', $authorId, 'lastname']))
|
||||
|
Loading…
Reference in New Issue
Block a user