From: Steph Fox Date: Sun, 27 Apr 2008 11:26:15 +0000 (+0000) Subject: - Make it possible to extract all *and* overwrite X-Git-Tag: RELEASE_2_0_0b1~177 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ea698eae7d2238d27cfe618ab1d8bc507edf8ac;p=php - Make it possible to extract all *and* overwrite --- 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; }