diff options
Diffstat (limited to 'bin/vdr.php')
-rwxr-xr-x | bin/vdr.php | 14 |
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; |