Skip to content

Commit 1c2e7b4

Browse files
committed
Fix zip build
1 parent ab3052a commit 1c2e7b4

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
@@ -2756,7 +2756,7 @@ PHP_METHOD(ZipArchive, extractTo)
27562756
}
27572757
for (i = 0; i < nelems; i++) {
27582758
zval *zval_file;
2759-
if ((zval_file = zend_hash_index_find_deref(Z_ARRVAL_P(zval_files), i)) != NULL) {
2759+
if ((zval_file = zend_hash_index_find_deref(files_ht, i)) != NULL) {
27602760
switch (Z_TYPE_P(zval_file)) {
27612761
case IS_LONG:
27622762
break;

0 commit comments

Comments
 (0)