diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/istreamdev.js | 2 |
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,
|