projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe06628
)
fix resource unavailable warning
author
Alan
<alan@roojs.com>
Thu, 21 Apr 2022 02:58:40 +0000
(10:58 +0800)
committer
Alan
<alan@roojs.com>
Thu, 21 Apr 2022 02:58:40 +0000
(10:58 +0800)
File/Convert.php
patch
|
blob
|
history
diff --git
a/File/Convert.php
b/File/Convert.php
index
37dcd88
..
b63d201
100644
(file)
--- a/
File/Convert.php
+++ b/
File/Convert.php
@@
-317,7
+317,9
@@
class File_Convert
flush();
}
- fclose($fh);
+ if ($fh) {
+ fclose($fh);
+ }
if ($delete_after) {
unlink($fn);