Fixed bug #12154: Improve API of flashmessages
[Packages/TYPO3.CMS.git] / typo3 / mod / web / perm / index.php
index e60a559..f0587a6 100755 (executable)
@@ -397,7 +397,7 @@ class SC_mod_web_perm_index {
                                $LANG->getLL('WorkspaceWarning'),
                                t3lib_FlashMessage::WARNING
                        );
-                       $this->doc->pushFlashMessage($lockedMessage);
+                       t3lib_messageQueue::addMessage($lockedMessage);
                }
 
                        // Get usernames and groupnames