summaryrefslogtreecommitdiffstats
path: root/web/html/pkgsubmit.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/pkgsubmit.php')
-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 787f4c5..954f1ce 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);
}