From 2ea698eae7d2238d27cfe618ab1d8bc507edf8ac Mon Sep 17 00:00:00 2001 From: Steph Fox Date: Sun, 27 Apr 2008 11:26:15 +0000 Subject: [PATCH] - Make it possible to extract all *and* overwrite --- ext/phar/phar_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index caa302b4ca..7b89855f90 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -3586,7 +3586,7 @@ PHP_METHOD(Phar, extractTo) zend_bool overwrite = 0; PHAR_ARCHIVE_OBJECT(); - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|zb", &pathto, &pathto_len, &zval_files, &overwrite) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z!b", &pathto, &pathto_len, &zval_files, &overwrite) == FAILURE) { return; } -- 2.50.1