Skip to content

Commit 5d4859e

Browse files
committed
Audit INI_ORIG_BOOL
1 parent 0cb5a69 commit 5d4859e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/tidy/tidy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ static PHP_RINIT_FUNCTION(tidy)
873873

874874
static PHP_RSHUTDOWN_FUNCTION(tidy)
875875
{
876-
TG(clean_output) = INI_ORIG_BOOL("tidy.clean_output");
876+
TG(clean_output) = zend_ini_parse_bool(zend_ini_str(ZEND_STRL("tidy.clean_output"), true));
877877

878878
return SUCCESS;
879879
}

0 commit comments

Comments
 (0)