Skip to content
Permalink
Browse files

Changed else if to elseif.

  • Loading branch information...
frederikweber committed Nov 18, 2012
1 parent 9b47995 commit 374dd55270115965b349045aa3b3727db8fe79e9
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Network/CakeResponse.php
@@ -411,7 +411,7 @@ protected function _setContentType() {
}
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}");

0 comments on commit 374dd55

Please sign in to comment.
You can’t perform that action at this time.