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

diff --git a/Tv.php b/Tv.php
index 0985641..1ee27d3 100644 (file)
--- a/Tv.php
+++ b/Tv.php
@@ -212,7 +212,7 @@ class XML_Tv
         
         // if it's a day row..
         
-        if (preg_match('/<div/', trim($data)) {
+        if (preg_match('/<div/', trim($data))) {
             preg_match('/<BR>([0-9]{4}-[0-9]{2}-[0-9]{2})\s/i', $odata, $matches);
             print_r($matches);
             exit;