diff --git a/main/admin/course_user_list.php b/main/admin/course_user_list.php index 89bc33d035..3098050607 100644 --- a/main/admin/course_user_list.php +++ b/main/admin/course_user_list.php @@ -22,9 +22,7 @@ if (count($list_course)==0) { ?> - + - - - + \ No newline at end of file diff --git a/main/admin/subscribe_user2course.php b/main/admin/subscribe_user2course.php index 9f914f045c..37efc9f002 100644 --- a/main/admin/subscribe_user2course.php +++ b/main/admin/subscribe_user2course.php @@ -1,5 +1,5 @@ 2 AND lastname LIKE '".$first_letter_user."%' $where_filter ORDER BY ". (count($users) > 0 ? "(user_id IN(".implode(',', $users).")) DESC," : "")." lastname"; global $_configuration; @@ -219,7 +219,7 @@ if ($_configuration['multiple_access_urls']==true) { $sql = "SELECT u.user_id,lastname,firstname,username FROM ".$tbl_user ." u INNER JOIN $tbl_user_rel_access_url user_rel_url ON (user_rel_url.user_id = u.user_id) - WHERE access_url_id = $access_url_id AND (lastname LIKE '".$first_letter_user."%' ) $where_filter + WHERE u.user_id<>2 AND access_url_id = $access_url_id AND (lastname LIKE '".$first_letter_user."%' ) $where_filter ORDER BY ". (count($users) > 0 ? "(u.user_id IN(".implode(',', $users).")) DESC," : "")." lastname"; } }