Update storage.php

This commit is contained in:
Namhyeon Go 2019-11-14 15:03:26 +09:00 committed by GitHub
parent c7b17838c6
commit e3b6ceccc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -286,7 +286,7 @@ if(!check_function_exists("write_storage_file")) {
}
}
if(file_exists($upload_filename) && in_array($mode, array("fake", "w"))) {
if(file_exists($upload_filename) && in_array($mode, array("fake"))) {
if(!array_key_empty("filename", $options)) {
$result = $upload_filename;
} else {