[BUGFIX] ClickMenu does not show destination-foldername 31/27131/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:34:51 +0000 (20:34 +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
(cherry picked from commit 69f7c44190d69efe20e2726e7259878720691b9e)
Reviewed-on: https://review.typo3.org/27131

typo3/sysext/backend/Classes/ClickMenu/ClickMenu.php

index 330ec61..a6ef296 100644 (file)
@@ -819,7 +819,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);
@@ -1418,4 +1418,4 @@ class ClickMenu {
 }
 
 
-?>
\ No newline at end of file
+?>