summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fetch.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/fetch.php b/fetch.php
index daf03f293..3fa8777f1 100644
--- a/fetch.php
+++ b/fetch.php
@@ -81,8 +81,7 @@
$fp = @fopen($FILE,"rb");
if($fp){
- fpassthru($fp);
- fclose($fp);
+ fpassthru($fp); //does a close itself
}else{
header("HTTP/1.0 500 Internal Server Error");
print "Could not read $FILE - bad permissions?";