mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Fixed bug in new module statrup mechanism
This commit is contained in:
parent
e63d1706cf
commit
70bd938bbd
4 changed files with 12 additions and 12 deletions
|
@ -1296,7 +1296,7 @@ int php_register_extensions(zend_module_entry **ptr, int count TSRMLS_DC)
|
|||
|
||||
while (ptr < end) {
|
||||
if (*ptr) {
|
||||
if (zend_register_internal_module(*ptr TSRMLS_CC)==FAILURE) {
|
||||
if (zend_register_internal_module(*ptr TSRMLS_CC)==NULL) {
|
||||
return FAILURE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue