mirror of
https://github.com/php/php-src.git
synced 2026-03-28 10:12:18 +01:00
MFH: fix output_reset_rewrite_vars() returning false
This commit is contained in:
@@ -1059,7 +1059,7 @@ int php_url_scanner_reset_vars(TSRMLS_D)
|
||||
BG(url_adapt_state_ex).form_app.len = 0;
|
||||
BG(url_adapt_state_ex).url_app.len = 0;
|
||||
|
||||
return FAILURE;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
PHP_MINIT_FUNCTION(url_scanner)
|
||||
|
||||
@@ -488,7 +488,7 @@ int php_url_scanner_reset_vars(TSRMLS_D)
|
||||
BG(url_adapt_state_ex).form_app.len = 0;
|
||||
BG(url_adapt_state_ex).url_app.len = 0;
|
||||
|
||||
return FAILURE;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
PHP_MINIT_FUNCTION(url_scanner)
|
||||
|
||||
Reference in New Issue
Block a user