Skip to content

Commit 8ea3493

Browse files
committed
zip_file_replace don't need ZIP_FL_OVERWRITE
1 parent f15f327 commit 8ea3493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/zip/php_zip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1794,7 +1794,7 @@ static ZIPARCHIVE_METHOD(replaceFile)
17941794
zend_long index;
17951795
zend_long offset_start = 0, offset_len = 0;
17961796
zend_string *filename;
1797-
zend_long flags = ZIP_FL_OVERWRITE;
1797+
zend_long flags = 0;
17981798

17991799
ZIP_FROM_OBJECT(intern, self);
18001800

0 commit comments

Comments
 (0)