summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2011-07-25 21:39:53 +0000
committerFelipe Pena <felipe@php.net>2011-07-25 21:39:53 +0000
commit2df7afeb1c25fce70273995825e0e62dd28bf82b (patch)
tree587242bba1ff92df6c5457617d27063f770332f8
parentfc83d523b831559b6652fd168752ff47645074d1 (diff)
downloadphp-git-2df7afeb1c25fce70273995825e0e62dd28bf82b.tar.gz
- Revert accidental change
-rw-r--r--ext/phar/phar_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c
index 644b45860f..83272210a1 100644
--- a/ext/phar/phar_object.c
+++ b/ext/phar/phar_object.c
@@ -1144,7 +1144,7 @@ PHP_METHOD(Phar, loadPhar)
RETVAL_BOOL(phar_open_from_filename(fname, fname_len, alias, alias_len, REPORT_ERRORS, NULL, &error TSRMLS_CC) == SUCCESS);
if (error) {
- zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, error);
+ zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "%s", error);
efree(error);
}
} /* }}} */