Browse Source

Allow assign bosses to boss - refs BT#9071

Angel Fernando Quiroz Campos 10 years ago
parent
commit
72bebd15a4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/admin/dashboard_add_users_to_user.php

+ 2 - 2
main/admin/dashboard_add_users_to_user.php

@@ -386,7 +386,7 @@ if (api_is_multiple_url_enabled()) {
 			WHERE
                 $without_assigned_users
                 user.user_id NOT IN ($user_anonymous, $current_user_id, $user_id) AND
-                status NOT IN(".DRH.", ".SESSIONADMIN.", " . STUDENT_BOSS . ") $search_user AND
+                status NOT IN(".DRH.", ".SESSIONADMIN.") $search_user AND
                 access_url_id = ".api_get_current_access_url_id()."
                 $sqlConditions
             ORDER BY firstname";
@@ -396,7 +396,7 @@ if (api_is_multiple_url_enabled()) {
 			WHERE
 			    $without_assigned_users
 			    user_id NOT IN ($user_anonymous, $current_user_id, $user_id) AND
-			    status NOT IN(".DRH.", ".SESSIONADMIN.", " . STUDENT_BOSS . ")
+			    status NOT IN(".DRH.", ".SESSIONADMIN.")
 			    $search_user
 			    $sqlConditions
             ORDER BY firstname ";