Skip to content

Commit

Permalink
Removing legacy parameter setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory authored and AD7six committed May 1, 2011
1 parent 8f43adb commit 5453333
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Controller/CakeErrorController.php
Expand Up @@ -37,9 +37,9 @@ function __construct($request = null) {
function beforeRender() {
parent::beforeRender();
foreach ($this->viewVars as $key => $value) {
if (!is_object($value)){
if (!is_object($value)){
$this->viewVars[$key] = h($value);
}
}
}
}
}

0 comments on commit 5453333

Please sign in to comment.