diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-25 15:10:40 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-25 15:10:40 +0100 |
commit | 27c05ed330b662cd0956f596bf786d2fa4205c45 (patch) | |
tree | 9683f34e72aa196b3478d5229cbd6aea0f6e25be /bin | |
parent | 1fcf072e7d5642aa7a2da75d6698982627e245fd (diff) | |
download | istreamdev-27c05ed330b662cd0956f596bf786d2fa4205c45.tar.gz istreamdev-27c05ed330b662cd0956f596bf786d2fa4205c45.tar.bz2 |
Removed empty sections
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/vdr.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/vdr.php b/bin/vdr.php index 08ee13e..6e1dcec 100755 --- a/bin/vdr.php +++ b/bin/vdr.php @@ -485,6 +485,8 @@ function vdrgetfullepgat($channel, $at, $programs) } + $finalepg = array(); + for ($i=0; $i<count($epgout); $i++) { if (count($epgout[$i]['channel'])) @@ -496,10 +498,12 @@ function vdrgetfullepgat($channel, $at, $programs) $channum[$key] = $row['number']; array_multisort($channum, SORT_ASC, $epgout[$i]['channel']); + + $finalepg[] = $epgout[$i]; } } - return $epgout; + return $finalepg; } function vdrgetepg($channel, $time, $day, $programs, $extended) |