Run php-cs-fixer on the code base
This commit is contained in:
@@ -68,8 +68,7 @@ class Response
|
||||
{
|
||||
if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && $_SERVER['HTTP_X_REQUESTED_WITH'] === 'XMLHttpRequest') {
|
||||
header('X-Ajax-Redirect: '.$url);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
header('Location: '.$url);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user