diff --git a/scripts/system/html/users.html b/scripts/system/html/users.html index e00cf7f2e4..578b2c643d 100644 --- a/scripts/system/html/users.html +++ b/scripts/system/html/users.html @@ -339,7 +339,7 @@ element.empty(); for (var i = 0; i < data.users.length; i++) { // Display users who aren't in a domain differently - if (typeof data.users[i].location.root.name === "undefined" || data.users[i].location.root.name === null) { + if (typeof data.users[i].location.root === "undefined" || typeof data.users[i].location.root.name === "undefined") { console.log(data.users[i].username + "is online but not in a domain"); $("#dev-div").append("
" + data.users[i].username + "is online but not in a domain
"); $("", {