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:
mark_story 2015-09-09 22:08:49 -04:00
parent 2d2c5be543
commit 9eafde13d2

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