mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fixing return value in Session::check()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4707 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
15bae17de2
commit
1a10bf9b8a
1 changed files with 1 additions and 2 deletions
|
@ -117,8 +117,7 @@ class SessionHelper extends CakeSession {
|
|||
if (parent::check('Message.' . $key)) {
|
||||
e(parent::read('Message.' . $key));
|
||||
parent::del('Message.' . $key);
|
||||
} else {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue