mirror of
https://github.com/php/php-src.git
synced 2026-03-29 03:32:20 +02:00
fix output_reset_rewrite_vars() returning false everytime
This commit is contained in:
@@ -1061,7 +1061,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)
|
||||
|
||||
@@ -490,7 +490,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