summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-03-25 00:43:51 +0100
committerTheTroll <trolldev@gmail.com>2010-03-25 00:43:51 +0100
commit9dec037a1262bdc3a3f4d7cfe1fe0156db0cd1ba (patch)
treefc1a36f5be2c964e54f5affa3f3f5ccff1e4d8d9
parent174f7c2da194fdf7aecd60c5f984449c5b0c66d2 (diff)
downloadistreamdev-9dec037a1262bdc3a3f4d7cfe1fe0156db0cd1ba.tar.gz
istreamdev-9dec037a1262bdc3a3f4d7cfe1fe0156db0cd1ba.tar.bz2
Fixed single chan epg
-rwxr-xr-xbin/vdr.php14
1 files changed, 6 insertions, 8 deletions
diff --git a/bin/vdr.php b/bin/vdr.php
index 39170df..27b1087 100755
--- a/bin/vdr.php
+++ b/bin/vdr.php
@@ -372,14 +372,12 @@ function vdrgetfullepgat($channel, $at, $programs)
{
if ($programscounter && $validchan)
{
- if ($channel == "all")
- {
- // Add new entry
- $fullepg[] = $chanentry;
- $addedchans[] = $chanentry['name'];
- }
- else
- return $chanentry;
+ // Add new entry
+ $fullepg[] = $chanentry;
+ $addedchans[] = $chanentry['name'];
+
+ if ($channel != "all")
+ break;
}
$validchan = 0;