|
|
|
@ -171,7 +171,11 @@ if (!$myCourseListAsCategory) { |
|
|
|
|
if (!$categoryCode) { |
|
|
|
|
$courseAndSessions = $controller->returnCourseCategoryListFromUser($userId); |
|
|
|
|
} else { |
|
|
|
|
$courseAndSessions = $controller->returnCoursesAndSessions($userId, false, $categoryCode); |
|
|
|
|
$courseAndSessions = $controller->returnCoursesAndSessions( |
|
|
|
|
$userId, |
|
|
|
|
false, |
|
|
|
|
$categoryCode |
|
|
|
|
); |
|
|
|
|
$getCategory = CourseCategory::getCategory($categoryCode); |
|
|
|
|
$controller->tpl->assign('category', $getCategory); |
|
|
|
|
} |
|
|
|
|