diff --git a/cake/libs/view/helpers/session.php b/cake/libs/view/helpers/session.php index b662f9013..d2e762ffa 100644 --- a/cake/libs/view/helpers/session.php +++ b/cake/libs/view/helpers/session.php @@ -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;