From 8c532efd5f02f7a7e5ea322a07ddcf49d130a8ec Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 17 Oct 2015 10:09:03 -0400 Subject: Run php-cs-fixer on the code base --- app/Core/Response.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/Core/Response.php') diff --git a/app/Core/Response.php b/app/Core/Response.php index c27f0a1d..528a6302 100644 --- a/app/Core/Response.php +++ b/app/Core/Response.php @@ -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); } -- cgit v1.2.3