summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r--ext/zip/php_zip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index 28fc27fc03..7da6c8f171 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -1720,7 +1720,7 @@ static ZIPARCHIVE_METHOD(extractTo)
break;
case IS_STRING:
file = Z_STRVAL_PP(zval_file);
- if (!php_zip_extract_file(intern, pathto, file, Z_STRLEN_P(zval_files) TSRMLS_CC)) {
+ if (!php_zip_extract_file(intern, pathto, file, Z_STRLEN_PP(zval_file) TSRMLS_CC)) {
RETURN_FALSE;
}
break;