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

diff --git a/Tv.php b/Tv.php
index 76c3678..fbf56fa 100644 (file)
--- a/Tv.php
+++ b/Tv.php
@@ -121,7 +121,7 @@ class XML_Tv
                 
                 
                 $cols = explode(',',$cinfo['htmlcols']);
-                $dn = strtotime($start) + (($i ) * 24 * 60 * 60 );
+                $dn = strtotime($start) + (($i * $use_cols) * 24 * 60 * 60 );
                 $res =  $this->$method($ddata,$cols,date('Y-m-d',$dn));
                 if (is_string($res)) {
                     $start = $res;