mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
PHPCS
This commit is contained in:
parent
833c747b41
commit
ef1fc7dfef
1 changed files with 1 additions and 1 deletions
|
@ -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'];
|
||||
|
|
Loading…
Add table
Reference in a new issue