mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
This commit is contained in:
parent
31d318545b
commit
52f9461f16
1 changed files with 2 additions and 2 deletions
|
@ -2651,10 +2651,10 @@ function getCursorPos(input) {
|
||||||
|
|
||||||
function isUserOnline(users_id) {
|
function isUserOnline(users_id) {
|
||||||
users_id = parseInt(users_id);
|
users_id = parseInt(users_id);
|
||||||
if (empty(users_id_online)) {
|
if (typeof users_id_online === 'undefined' || empty(users_id_online)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (empty(users_id_online[users_id])) {
|
if (typeof users_id_online[users_id] === 'undefined' || empty(users_id_online[users_id])) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (empty(users_id_online[users_id].resourceId)) {
|
if (empty(users_id_online[users_id].resourceId)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue