Fixed bug #12154: Improve API of flashmessages
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / layout / db_layout.php
index 1106f11..8374365 100755 (executable)
@@ -832,7 +832,7 @@ class SC_db_layout {
                                                '',
                                                t3lib_FlashMessage::WARNING
                                        );
-                                       $this->doc->pushFlashMessage($lockedMessage);
+                                       t3lib_messageQueue::addMessage($lockedMessage);
                                }
 
                                        // Add whole form as a document section: