mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #7379 from cakephp/issue-7365
Set the `key` variable in the SessionHelper.
This commit is contained in:
commit
a4a63bfabd
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ class SessionHelper extends AppHelper {
|
||||||
}
|
}
|
||||||
$tmpVars = $flash['params'];
|
$tmpVars = $flash['params'];
|
||||||
$tmpVars['message'] = $message;
|
$tmpVars['message'] = $message;
|
||||||
|
$tmpVars['key'] = $key;
|
||||||
$out = $this->_View->element($flash['element'], $tmpVars, $options);
|
$out = $this->_View->element($flash['element'], $tmpVars, $options);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue