decode html entities when using redirect function
This commit is contained in:
committed by
Chris Morgan
parent
bc07ac0e12
commit
4f27788072
@@ -20,7 +20,7 @@ function util_show_error_page_and_exit($text = null, $message = null)
|
|||||||
*/
|
*/
|
||||||
function util_redirect_and_exit($url)
|
function util_redirect_and_exit($url)
|
||||||
{
|
{
|
||||||
header("Location: ".$url);
|
header("Location: ".html_entity_decode($url));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user