From e89bc0be102219410b2a7cc70ddaa05b913d8037 Mon Sep 17 00:00:00 2001 From: phpnut Date: Sun, 15 Mar 2009 00:19:02 +0000 Subject: [PATCH] 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 --- cake/libs/view/media.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cake/libs/view/media.php b/cake/libs/view/media.php index e56e73aa4..5be837840 100644 --- a/cake/libs/view/media.php +++ b/cake/libs/view/media.php @@ -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]); } } }