Tv.php
authorAlan Knowles <alan@akbkhome.com>
Sat, 29 Oct 2011 12:41:54 +0000 (20:41 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 29 Oct 2011 12:41:54 +0000 (20:41 +0800)
Tv.php

diff --git a/Tv.php b/Tv.php
index 4c341c6..7c3341e 100644 (file)
--- a/Tv.php
+++ b/Tv.php
@@ -290,7 +290,7 @@ class XML_Tv
             
             
             
-            $c = $kv[1];
+            $c = isset($kv[1]) ? $kv[1] : ''; 
             $c = str_ireplace('<br>',' ', $c);
             $c = str_ireplace('&nbsp;',' ', $c);
             $c = str_replace("\n",' ', $c);