[BUGFIX] RTE: Image drag & drop raises PHP error 40/36640/2
authorStanislas Rolland <typo3@sjbr.ca>
Tue, 3 Feb 2015 21:21:47 +0000 (16:21 -0500)
committerStanislas Rolland <typo3@sjbr.ca>
Tue, 3 Feb 2015 21:32:07 +0000 (22:32 +0100)
Old class name was left over.

Releases: master
Resolves: #64649
Change-Id: Ie78c781d466e6fabfc11170d828a9e43544bad65
Reviewed-on: http://review.typo3.org/36640
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
typo3/sysext/rtehtmlarea/Classes/SelectImage.php

index 5aae754..d8c1fe5 100644 (file)
@@ -727,7 +727,7 @@ class SelectImage extends \TYPO3\CMS\Recordlist\Browser\ElementBrowser {
                                $this->content .= '<br />';
                                break;
                        case 'dragdrop':
-                               $foldertree = GeneralUtility::makeInstance(\TBE_FolderTree::class);
+                               $foldertree = GeneralUtility::makeInstance(\TYPO3\CMS\Recordlist\Tree\View\ElementBrowserFolderTreeView::class);
                                $foldertree->thisScript = $this->thisScript;
                                $foldertree->ext_noTempRecyclerDirs = TRUE;
                                $tree = $foldertree->getBrowsableTree();