diff --git a/classes/Tools.php b/classes/Tools.php index 7f3277122..baa084cd5 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -107,10 +107,7 @@ class ToolsCore header($header); } - if (isset($_SERVER['HTTP_REFERER']) && $url == $_SERVER['HTTP_REFERER']) - header('Location: '.$_SERVER['HTTP_REFERER']); - else - header('Location: '.$url); + header('Location: '.$url); exit; }