Skip to content

Commit 1c11276

Browse files
Girgiascmb69
andcommitted
Simplify code logic
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
1 parent 2744a04 commit 1c11276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_ini.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ ZEND_API ZEND_INI_MH(OnUpdateStringUnempty) /* {{{ */
880880
ZEND_API ZEND_INI_MH(OnUpdateStr) /* {{{ */
881881
{
882882
zend_string **p = (zend_string **) ZEND_INI_GET_ADDR();
883-
*p = new_value ? new_value : NULL;
883+
*p = new_value;
884884
return SUCCESS;
885885
}
886886
/* }}} */

0 commit comments

Comments
 (0)