[BUGFIX] Set missing markers to empty string 02/27102/2
authorBernhard Kraft <kraft@webconsulting.at>
Tue, 28 Jan 2014 17:47:13 +0000 (18:47 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 29 Jan 2014 19:16:48 +0000 (20:16 +0100)
Change-Id: I3892f88bdd094b390a22fe94d9b089bd9b8aef71
Resolves: #54112
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/27102
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/filelist/Classes/Controller/FileListController.php

index 65f1830..4a7588a 100644 (file)
@@ -371,7 +371,7 @@ class FileListController {
                        $content = '';
                        if ($this->errorMessage) {
                                $this->errorMessage->setSeverity(\TYPO3\CMS\Core\Messaging\FlashMessage::ERROR);
-                               $content = $this->doc->moduleBody(array(), array_merge(array('REFRESH' => ''), $this->getButtons()), array('CSH' => '', 'TITLE' => '', 'FOLDER_INFO' => '', 'PAGE_ICON' => '', 'FUNC_MENU' => '', 'CONTENT' => $this->errorMessage->render()));
+                               $content = $this->doc->moduleBody(array(), array_merge(array('REFRESH' => '', 'PASTE' => '', 'LEVEL_UP' => ''), $this->getButtons()), array('CSH' => '', 'TITLE' => '', 'FOLDER_INFO' => '', 'PAGE_ICON' => '', 'FUNC_MENU' => '', 'CONTENT' => $this->errorMessage->render()));
                        }
                        // Create output - no access (no warning though)
                        $this->content = $this->doc->render($GLOBALS['LANG']->getLL('files'), $content);