mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-12-13 15:39:47 +01:00
Fix #386 - Warnings in support list.
This commit is contained in:
@@ -135,12 +135,12 @@ function support_list() {
|
||||
}
|
||||
}
|
||||
}
|
||||
$staffs = array_values($staffs);
|
||||
|
||||
if ($staffs !== false && $TFS == 'TFS_10') {
|
||||
for ($i = 0; $i < count($staffs); $i++) {
|
||||
// Fix online status on TFS 1.0
|
||||
if (user_is_online_10($staffs[$i]['id'])) $staffs[$i]['online'] = 1;
|
||||
else $staffs[$i]['online'] = 0;
|
||||
$staffs[$i]['online'] = (isset($staffs[$i]['id']) && user_is_online_10($staffs[$i]['id'])) ? 1 : 0;
|
||||
unset($staffs[$i]['id']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user