mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Removing legacy parameter setting.
This commit is contained in:
parent
8f43adbac2
commit
5453333a88
1 changed files with 2 additions and 2 deletions
|
@ -37,9 +37,9 @@ class CakeErrorController extends AppController {
|
|||
function beforeRender() {
|
||||
parent::beforeRender();
|
||||
foreach ($this->viewVars as $key => $value) {
|
||||
if (!is_object($value)){
|
||||
if (!is_object($value)){
|
||||
$this->viewVars[$key] = h($value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue