mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
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:
parent
70f18af78d
commit
e89bc0be10
1 changed files with 4 additions and 4 deletions
|
@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue