|
|
|
@ -663,7 +663,7 @@ function isCourseMember( $user_id) |
|
|
|
|
{ |
|
|
|
|
global $_course; |
|
|
|
|
$course_code = $_course['sysCode']; |
|
|
|
|
$is_course_member = CourseManager::is_user_subscribed_in_real_or_linked_course($user_id, $course_code); |
|
|
|
|
$is_course_member = CourseManager::is_user_subscribed_in_real_or_linked_course($user_id, $course_code,$_SESSION['id_session']); |
|
|
|
|
return $is_course_member; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|