From 374dd55270115965b349045aa3b3727db8fe79e9 Mon Sep 17 00:00:00 2001 From: frederikweber Date: Sun, 18 Nov 2012 14:06:46 +0100 Subject: [PATCH] Changed else if to elseif. --- lib/Cake/Network/CakeResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Network/CakeResponse.php b/lib/Cake/Network/CakeResponse.php index 67b9c90da..33be2d0f5 100644 --- a/lib/Cake/Network/CakeResponse.php +++ b/lib/Cake/Network/CakeResponse.php @@ -411,7 +411,7 @@ class CakeResponse { } if (strpos($this->_contentType, 'text/') === 0) { $this->header('Content-Type', "{$this->_contentType}; charset={$this->_charset}"); - } else if ($this->_contentType === 'application/json') { + } elseif ($this->_contentType === 'application/json') { $this->header('Content-Type', "{$this->_contentType}; charset=UTF-8"); } else { $this->header('Content-Type', "{$this->_contentType}");