Removed an unnecessary strict check, the affected method will return only booleans...
authorIngo Renner <ingo.renner@typo3.org>
Sat, 13 Nov 2010 22:41:39 +0000 (22:41 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Sat, 13 Nov 2010 22:41:39 +0000 (22:41 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9374 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_flashmessagequeue.php

index afd4272..b7c7ce5 100644 (file)
@@ -51,7 +51,7 @@ class t3lib_FlashMessageQueue {
         * @return      void
         */
        public static function addMessage(t3lib_FlashMessage $message) {
-               if ($message->isSessionMessage() === TRUE) {
+               if ($message->isSessionMessage()) {
                        $queuedFlashMessages = self::getFlashMessagesFromSession();
                        $queuedFlashMessages[] = $message;