]> granicus.if.org Git - php/commitdiff
- Revert accidental change
authorFelipe Pena <felipe@php.net>
Mon, 25 Jul 2011 21:39:53 +0000 (21:39 +0000)
committerFelipe Pena <felipe@php.net>
Mon, 25 Jul 2011 21:39:53 +0000 (21:39 +0000)
ext/phar/phar_object.c

index 644b45860fd8f86668b3c1d8d9261d517cc0b75f..83272210a1deae5cfab064c876a12f1a04752005 100644 (file)
@@ -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);
        }
 } /* }}} */