summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/istreamdev.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js
index 5e8a74e..331aea2 100644
--- a/js/istreamdev.js
+++ b/js/istreamdev.js
@@ -167,7 +167,7 @@ function gen_categories() {
//Gen Channels
function gen_channels(category) {
$("#chan_menu").html('');
- var dataString = "action=getTvChan&cat='" + category + "'";
+ var dataString = "action=getTvChan&cat=" + encodeURIComponent(category);
//Json call to get category array
$.getJSON("bin/backend.php",
dataString,