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