Skip to content

Commit

Permalink
Update storage.php
Browse files Browse the repository at this point in the history
  • Loading branch information
gnh1201 authored Nov 14, 2019
1 parent c7b1783 commit e3b6cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ function write_storage_file($data, $options=array()) {
}
}

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 {
Expand Down

0 comments on commit e3b6cec

Please sign in to comment.