summaryrefslogtreecommitdiff
path: root/bin/vdr.php
diff options
context:
space:
mode:
Diffstat (limited to 'bin/vdr.php')
-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;