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:
267173f
)
Tv.php
author
Alan Knowles
<alan@akbkhome.com>
Sat, 29 Oct 2011 12:29:56 +0000
(20:29 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sat, 29 Oct 2011 12:29:56 +0000
(20:29 +0800)
Tv.php
patch
|
blob
|
history
diff --git
a/Tv.php
b/Tv.php
index
44aea6b
..
7bfa68b
100644
(file)
--- a/
Tv.php
+++ b/
Tv.php
@@
-113,7
+113,7
@@
class XML_Tv
// kludge. = first monday of current week..
// loook for... <BR>2007-12-31 Mon
$start = preg_match('/<BR>([0-9]{4}-[0-9]{2}-[0-9]{2}) Mon/i', $odata, $matches);
- $start =
$matches[1]
; // first monday..
+ $start =
isset($matches[1]) ? 0
; // first monday..
$use_cols = 1;
foreach($days as $i=>$ddata) {