Committed [8099] before I finished changing variable names

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8101 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2009-03-15 00:19:02 +00:00
parent 70f18af78d
commit e89bc0be10

View file

@ -217,7 +217,7 @@ class MediaView extends View {
} }
/** /**
* Method to set headers * Method to set headers
* @param mixed $key * @param mixed $header
* @param boolean $boolean * @param boolean $boolean
* @access protected * @access protected
*/ */
@ -240,9 +240,9 @@ class MediaView extends View {
* @access protected * @access protected
*/ */
function _output() { function _output() {
foreach ($this->_headers as $header => $value) { foreach ($this->_headers as $key => $value) {
$string = key($header); $header = key($value);
header($string, $value[$string]); header($header, $value[$header]);
} }
} }
} }