[BUGFIX] ClickMenu does not show destination-foldername 06/27106/2
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 28 Jan 2014 20:16:36 +0000 (21:16 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 29 Jan 2014 19:10:09 +0000 (20:10 +0100)
Change-Id: I623d243ea504b0e646bd969e55ed7686ad3e9caf
Releases: 6.2, 6.1, 6.0
Resolves: #55407
Reviewed-on: https://review.typo3.org/27106
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/backend/Classes/ClickMenu/ClickMenu.php

index 888e831..a341ee8 100644 (file)
@@ -827,7 +827,7 @@ class ClickMenu {
                                $selItem = reset($elArr);
                                $elInfo = array(
                                        basename($selItem),
-                                       basename($path),
+                                       basename($identifier),
                                        $this->clipObj->currentMode()
                                );
                                $menuItems['pasteinto'] = $this->FILE_paste($identifier, $selItem, $elInfo);