From 1c2e7b4ea02a076220f1c1ab88885ed8449f195b Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 7 May 2021 22:42:31 +0200 Subject: [PATCH] Fix zip build --- ext/zip/php_zip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 264746fc500..ca7de412aa0 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -2756,7 +2756,7 @@ PHP_METHOD(ZipArchive, extractTo) } for (i = 0; i < nelems; i++) { zval *zval_file; - if ((zval_file = zend_hash_index_find_deref(Z_ARRVAL_P(zval_files), i)) != NULL) { + if ((zval_file = zend_hash_index_find_deref(files_ht, i)) != NULL) { switch (Z_TYPE_P(zval_file)) { case IS_LONG: break;