Found a bug (plus a fix!)
-
Hiya,
Had a bug today where suddenly no videos were showing up in the playlist table in admin. It turned out to be because of an apostrophe in the title breaking things.I went into ytWebTv_admin.php to see if I could replace the ‘ with a \’, but found you’d already done it!
In the file, it had split over three lines though, like this:
var json = '<?PHP echo str_replace("' ","\ '",get_option("yt_webtv_channel_".$GLOBALS["yt_webtv_channel"])); ?>';
by putting it all back on one line, everything immediately reappeared – it looks like the line breaks got messed up.
var json = '<?PHP echo str_replace("'","\'",get_option("yt_webtv_channel_".$GLOBALS["yt_webtv_channel"])); ?>';
Thought I’d let you know, in case it helps and in case anyone else has the same issue ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Found a bug (plus a fix!)’ is closed to new replies.