fixed instanciation of t3lib_FlashMessage to put all the parameters in the constructo...
authorIngo Renner <ingo.renner@typo3.org>
Sat, 13 Nov 2010 23:06:43 +0000 (23:06 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Sat, 13 Nov 2010 23:06:43 +0000 (23:06 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9376 709f56b5-9817-0410-a4d7-c38de5d9e867

typo3/sysext/em/classes/repository/class.tx_em_repository_utility.php

index 9b3dd12..bcbd2b0 100644 (file)
@@ -329,10 +329,11 @@ class tx_em_Repository_Utility implements t3lib_Singleton {
 
                if ($renderFlashMessage) {
                        /* @var $flashMessage t3lib_FlashMessage */
-                       $flashMessage = t3lib_div::makeInstance('t3lib_FlashMessage', '');
-                       $flashMessage->setTitle($GLOBALS['LANG']->getLL('ext_import_list_unchanged'));
-                       $flashMessage->setMessage($GLOBALS['LANG']->getLL('ext_import_list_unchanged_header'));
-                       $flashMessage->setSeverity(t3lib_FlashMessage::INFO);
+                       $flashMessage = t3lib_div::makeInstance('t3lib_FlashMessage',
+                               $GLOBALS['LANG']->getLL('ext_import_list_unchanged_header'),
+                               $GLOBALS['LANG']->getLL('ext_import_list_unchanged'),
+                               t3lib_FlashMessage::INFO
+                       );
                }
                $sumRecords = 0;