fixed a notice in add users to admin platform

1.10.x
José Loguercio 10 years ago
parent 5848efa2f7
commit c06892c475
  1. 4
      main/admin/dashboard_add_users_to_user.php

@ -51,7 +51,7 @@ if (UserManager::is_admin($user_id)) {
}
$add_type = 'multiple';
if(isset($_GET['add_type']) && $_GET['add_type']!='') {
if (isset($_GET['add_type']) && $_GET['add_type']!='') {
$add_type = Security::remove_XSS($_REQUEST['add_type']);
}
@ -327,6 +327,8 @@ echo Display::page_header(
null, $size = 'h3'
);
$assigned_users_to_hrm = array();
switch ($userStatus) {
case DRH:
$assigned_users_to_hrm = UserManager::get_users_followed_by_drh($user_id);

Loading…
Cancel
Save