summaryrefslogtreecommitdiff
path: root/bin/vdr.php
diff options
context:
space:
mode:
Diffstat (limited to 'bin/vdr.php')
-rw-r--r--bin/vdr.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/vdr.php b/bin/vdr.php
index c27dc4a..12fc62f 100644
--- a/bin/vdr.php
+++ b/bin/vdr.php
@@ -33,7 +33,7 @@ function vdrgetcategories()
}
$fp = fopen ($vdrchannels,"r");
- if (!fp)
+ if (!$fp)
{
addlog("Error: can't open vdr channels file " .$vdrchannels);
print "Unable to open channels file";
@@ -104,7 +104,7 @@ function vdrgetchannels($category, $now)
}
$fp = fopen ($vdrchannels,"r");
- if (!fp)
+ if (!$fp)
{
addlog("Error: can't open vdr channels file " .$vdrchannels);
print "Unable to open channels file";