From ca92928b48894b6f6a0e6b83e8aa8b6b7bda787c Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Sun, 23 Mar 2008 17:36:57 +0000 Subject: [PATCH] fix param parsing for Phar::running() to be optional # this is the last bug for ZF app - it now works! --- 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 a29c3ae4e2..8f529a1ab9 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -435,7 +435,7 @@ PHP_METHOD(Phar, running) int fname_len, arch_len, entry_len; zend_bool retphar = 1; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &retphar) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &retphar) == FAILURE) { return; } -- 2.50.1