Fixing typo

This commit is contained in:
José Lorenzo Rodríguez 2010-08-02 19:12:58 -04:30
parent bbbb81e10a
commit cb63cd171c

View file

@ -338,8 +338,8 @@ class CakeResponse {
$this->statusCode(302); $this->statusCode(302);
} }
$codeMesasge = $this->_statusCodes[$this->_status]; $codeMessage = $this->_statusCodes[$this->_status];
$this->_sendHeader("{$this->_protocol} {$this->_status} {$codeMesasge}"); $this->_sendHeader("{$this->_protocol} {$this->_status} {$codeMessage}");
$this->_sendHeader('Content-Type', "{$this->_contentType}; charset={$this->_charset}"); $this->_sendHeader('Content-Type', "{$this->_contentType}; charset={$this->_charset}");
foreach ($this->_headers as $header => $value) { foreach ($this->_headers as $header => $value) {