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:
5eedfca
)
Tv.php
author
Alan Knowles
<alan@akbkhome.com>
Sat, 29 Oct 2011 12:23:58 +0000
(20:23 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sat, 29 Oct 2011 12:23:58 +0000
(20:23 +0800)
Tv.php
patch
|
blob
|
history
diff --git
a/Tv.php
b/Tv.php
index
7fac72b
..
730b0ea
100644
(file)
--- a/
Tv.php
+++ b/
Tv.php
@@
-236,10
+236,13
@@
class XML_Tv
if ($day == '2011-10-29') {
//$this->debug(print_r($rows,true));
}
+ if ($day < date('Y-m-d')) {
+ return array();
+ }
//$this->debug($day);
//$this->debug(print_r($rows,true));
//return;
- array_shift($rows);
+ array_shift($rows
-
);
$day = false;