summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-04-01 16:25:08 +0200
committerTheTroll <trolldev@gmail.com>2010-04-01 16:25:08 +0200
commit6b9d4216d16e186cc9543b2441586b55d4bce33c (patch)
tree9fa69acd6113a28cb1c038016431512e10aef220 /bin
parentef25ebac4d542f5d1b54fc13b4f75ffe01cd3bbf (diff)
downloadistreamdev-6b9d4216d16e186cc9543b2441586b55d4bce33c.tar.gz
istreamdev-6b9d4216d16e186cc9543b2441586b55d4bce33c.tar.bz2
Fixed fp check
Diffstat (limited to 'bin')
-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";