|
|
|
@ -4634,13 +4634,15 @@ class learnpath |
|
|
|
|
|
|
|
|
|
|
|
$course = $courseRepo->find($courseId); |
|
|
|
$course = $courseRepo->find($courseId); |
|
|
|
|
|
|
|
|
|
|
|
// Subscribed groups to a LP |
|
|
|
if ($courseId!=0) { |
|
|
|
$subscribedGroupsInLp = $itemRepo->getGroupsSubscribedToItem( |
|
|
|
// Subscribed groups to a LP |
|
|
|
TOOL_LEARNPATH_CATEGORY, |
|
|
|
$subscribedGroupsInLp = $itemRepo->getGroupsSubscribedToItem( |
|
|
|
$category->getId(), |
|
|
|
TOOL_LEARNPATH_CATEGORY, |
|
|
|
$course, |
|
|
|
$category->getId(), |
|
|
|
$session |
|
|
|
$course, |
|
|
|
); |
|
|
|
$session |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!empty($subscribedGroupsInLp)) { |
|
|
|
if (!empty($subscribedGroupsInLp)) { |
|
|
|
$noGroupSubscribed = false; |
|
|
|
$noGroupSubscribed = false; |
|
|
|
|