This commit is contained in:
Highstrike 2015-06-24 15:18:57 +03:00
parent 833c747b41
commit ef1fc7dfef

View file

@ -86,7 +86,7 @@ class FlashHelper extends AppHelper {
CakeSession::delete("Message.$key");
// backwards compatibility with Session->setFlash()
if($flash['element'] === 'default') {
if ($flash['element'] === 'default') {
$class = 'message';
if (!empty($flash['params']['class'])) {
$class = $flash['params']['class'];