summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
Diffstat (limited to 'web/html')
-rw-r--r--web/html/pkgsubmit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index 787f4c5c..954f1ce1 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -48,7 +48,7 @@ if ($_COOKIE["AURSID"]):
}
# Close file handle before extracting stuff
- if (is_resource($fh)) {
+ if (isset($fh) && is_resource($fh)) {
fclose($fh);
}