mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
zend_ini: use SUCCESS instead of 0 to compare return value of function returning zend_result
This commit is contained in:
@@ -428,7 +428,7 @@ ZEND_API zend_result zend_restore_ini_entry(zend_string *name, int stage) /* {{{
|
||||
}
|
||||
|
||||
if (EG(modified_ini_directives)) {
|
||||
if (zend_restore_ini_entry_cb(ini_entry, stage) == 0) {
|
||||
if (zend_restore_ini_entry_cb(ini_entry, stage) == SUCCESS) {
|
||||
zend_hash_del(EG(modified_ini_directives), name);
|
||||
} else {
|
||||
return FAILURE;
|
||||
|
||||
Reference in New Issue
Block a user