|
|
|
@ -56,8 +56,7 @@ function get_users($from, $limit, $column, $direction) |
|
|
|
|
$active = isset($_GET['active']) ? $_GET['active'] : 1; |
|
|
|
|
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null; |
|
|
|
|
$sleepingDays = isset($_GET['sleeping_days']) ? intval($_GET['sleeping_days']) : null; |
|
|
|
|
$status = isset($_GET['status']) ? Security::remove_XSS($_GET['status']) : null; |
|
|
|
|
|
|
|
|
|
$status = isset($_GET['status']) ? Security::remove_XSS($_GET['status']) : ''; |
|
|
|
|
|
|
|
|
|
$lastConnectionDate = null; |
|
|
|
|
if (!empty($sleepingDays)) { |
|
|
|
@ -89,7 +88,7 @@ function get_users($from, $limit, $column, $direction) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ($drhLoaded == false) { |
|
|
|
|
if ($drhLoaded === false) { |
|
|
|
|
$students = UserManager::getUsersFollowedByUser( |
|
|
|
|
api_get_user_id(), |
|
|
|
|
$status, |
|
|
|
|