Tv.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 30 Aug 2011 13:29:19 +0000 (21:29 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 30 Aug 2011 13:29:19 +0000 (21:29 +0800)
Tv.php

diff --git a/Tv.php b/Tv.php
index 83892af..711d470 100644 (file)
--- a/Tv.php
+++ b/Tv.php
@@ -214,8 +214,7 @@ class XML_Tv
         
         if (preg_match('/<div/', trim($data))) {
             preg_match('/<BR>([0-9]{4}-[0-9]{2}-[0-9]{2})/i', $data, $matches);
-            $this->activeDay = $matches[1];
-             return;
+             return $matches[1];
             
         }
         $rows = preg_split('/<tr[^>]*>/i', $data);