From 6b9d4216d16e186cc9543b2441586b55d4bce33c Mon Sep 17 00:00:00 2001 From: TheTroll Date: Thu, 1 Apr 2010 16:25:08 +0200 Subject: Fixed fp check --- bin/vdr.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/vdr.php') 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"; -- cgit v1.2.3