mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 00:07:44 +02:00
[ticket/17361] Remove fclose after write
PHPBB-17361
This commit is contained in:
@@ -246,11 +246,6 @@ class upload
|
||||
$fp = fopen($destination, 'rb');
|
||||
|
||||
$this->storage->write($destination_name, $fp);
|
||||
|
||||
if (is_resource($fp))
|
||||
{
|
||||
fclose($fp);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user