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:
2bafe7e
)
Tv.php
author
Alan Knowles
<alan@akbkhome.com>
Sat, 29 Oct 2011 12:36:38 +0000
(20:36 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sat, 29 Oct 2011 12:36:38 +0000
(20:36 +0800)
Tv.php
patch
|
blob
|
history
diff --git
a/Tv.php
b/Tv.php
index
3efad93
..
f92c1be
100644
(file)
--- a/
Tv.php
+++ b/
Tv.php
@@
-128,6
+128,9
@@
class XML_Tv
$use_cols =0;
continue;
}
+ if (!is_array($res)) {
+ continue;
+ }
$day_id = strtotime($start) + (($i * $use_cols ) * 24 * 60 * 60 );
if (empty($this->schedule[$chid][$day_id])) {