mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Set the key
variable in the SessionHelper.
This fixes cross template compatibility between the Flash and Session helpers. Refs #7365
This commit is contained in:
parent
2d2c5be543
commit
9eafde13d2
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ class SessionHelper extends AppHelper {
|
|||
}
|
||||
$tmpVars = $flash['params'];
|
||||
$tmpVars['message'] = $message;
|
||||
$tmpVars['key'] = $key;
|
||||
$out = $this->_View->element($flash['element'], $tmpVars, $options);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue