mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Fix PHP notice when submitting an empty file.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
e4130fcca6
commit
746c2b72b5
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ if ($_COOKIE["AURSID"]):
|
||||||
}
|
}
|
||||||
|
|
||||||
# Close file handle before extracting stuff
|
# Close file handle before extracting stuff
|
||||||
if (is_resource($fh)) {
|
if (isset($fh) && is_resource($fh)) {
|
||||||
fclose($fh);
|
fclose($fh);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue