diff --git a/server/handlers/functions.js b/server/handlers/functions.js index 52ab33bc..3bff5e14 100644 --- a/server/handlers/functions.js +++ b/server/handlers/functions.js @@ -256,7 +256,7 @@ function getSessionChatPass(id, callback) { function setChromecastHost(id, other_id, list, callback) { try { - if(id == "empty" || id == undefined) { + if(id == "empty" || id == undefined || other_id == "empty" || other_id == undefined) { callback(); return; }