mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
parent
7cdf19363d
commit
833c747b41
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class FlashHelper extends AppHelper {
|
|||
$flash = $options + $flash;
|
||||
CakeSession::delete("Message.$key");
|
||||
|
||||
// backwards compatibility with Session->setFlash
|
||||
// backwards compatibility with Session->setFlash()
|
||||
if($flash['element'] === 'default') {
|
||||
$class = 'message';
|
||||
if (!empty($flash['params']['class'])) {
|
||||
|
|
Loading…
Add table
Reference in a new issue