[FOLLOWUP][!!!][TASK] Trees do not use global SOBE anymore 69/42869/2
authorMarkus Klein <markus.klein@typo3.org>
Tue, 25 Aug 2015 12:07:10 +0000 (14:07 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Tue, 25 Aug 2015 12:21:06 +0000 (14:21 +0200)
Fix wrong instanceof check.

Resolves: #69276
Releases: master
Change-Id: I9beb681c595cfa3e63cfe4ffdbf33557041511b4
Reviewed-on: http://review.typo3.org/42869
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/backend/Classes/Controller/FileSystemNavigationFrameController.php

index d7fbf5b..4a4012f 100644 (file)
@@ -124,7 +124,7 @@ class FileSystemNavigationFrameController implements ControllerInterface {
                }
                // Only set ext_IconMode if we are not running an ajax request from the ElementBrowser,
                // which has this property hardcoded to 1.
-               if (!$this->foldertree instanceof ElementBrowserFolderTreeView::class) {
+               if (!$this->foldertree instanceof ElementBrowserFolderTreeView) {
                        $this->foldertree->ext_IconMode = $this->getBackendUser()->getTSConfigVal('options.folderTree.disableIconLinkToContextmenu');
                }
        }