|
|
|
@ -359,7 +359,7 @@ function display_student_publications_list($work_dir,$sub_course_dir,$currentCou |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
if (!empty($_SESSION['toolgroup'])) { |
|
|
|
|
$group_query = " WHERE post_group_id = '".$_SESSION['toolgroup']."' "; // set to select only messages posted by the user's group |
|
|
|
|
$group_query = " WHERE post_group_id = '".intval($_SESSION['toolgroup'])."' "; // set to select only messages posted by the user's group |
|
|
|
|
$subdirs_query = "AND url NOT LIKE BINARY '$sub_course_dir%/%' AND url LIKE BINARY '$sub_course_dir%'"; |
|
|
|
|
} else { |
|
|
|
|
$group_query = " WHERE post_group_id = '0' "; |
|
|
|
|