From 75816c50e7d98d3f241b997852c37abeab5aaa75 Mon Sep 17 00:00:00 2001 From: Dan Cryer Date: Wed, 22 May 2013 16:46:59 +0100 Subject: [PATCH] Fix for login screen appearing within layout, closes #51. --- PHPCI/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCI/Application.php b/PHPCI/Application.php index 5e873571..c0048adf 100644 --- a/PHPCI/Application.php +++ b/PHPCI/Application.php @@ -65,7 +65,7 @@ class Application extends b8\Application if ($this->request->isAjax()) { $this->response->setResponseCode(401); - $this->response->setBody(''); + $this->response->setContent(''); } else { $this->response = new RedirectResponse($this->response); $this->response->setHeader('Location', '/session/login');