Merge pull request #7379 from cakephp/issue-7365

Set the `key` variable in the SessionHelper.
This commit is contained in:
José Lorenzo Rodríguez 2015-09-11 09:55:50 +02:00
commit a4a63bfabd

View file

@ -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);
}
}