mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
- Revert accidental change
This commit is contained in:
parent
fc83d523b8
commit
2df7afeb1c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
RETVAL_BOOL(phar_open_from_filename(fname, fname_len, alias, alias_len, REPORT_ERRORS, NULL, &error TSRMLS_CC) == SUCCESS);
|
||||||
|
|
||||||
if (error) {
|
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);
|
efree(error);
|
||||||
}
|
}
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue