projects
/
lib.XML_Tv
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7a9b7e
)
Tv.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 30 Aug 2011 13:29:19 +0000
(21:29 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 30 Aug 2011 13:29:19 +0000
(21:29 +0800)
Tv.php
patch
|
blob
|
history
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);