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
* @param mixed $key
* @param mixed $header
* @param boolean $boolean
* @access protected
*/
@ -240,9 +240,9 @@ class MediaView extends View {
* @access protected
*/
function _output() {
foreach ($this->_headers as $header => $value) {
$string = key($header);
header($string, $value[$string]);
foreach ($this->_headers as $key => $value) {
$header = key($value);
header($header, $value[$header]);
}
}
}