From 85edc6f15a74edc5547c7028162c517fc20fbc09 Mon Sep 17 00:00:00 2001 From: Julian Prud'homme Date: Fri, 2 Mar 2007 14:23:43 +0100 Subject: [PATCH] [svn r11335] Fix a bug with session mode --- main/dropbox/dropbox_functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/dropbox/dropbox_functions.inc.php b/main/dropbox/dropbox_functions.inc.php index 014521b2d1..2cc7c4f4e7 100644 --- a/main/dropbox/dropbox_functions.inc.php +++ b/main/dropbox/dropbox_functions.inc.php @@ -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; }