[BUGFIX] Class 'TYPO3\CMS\Recordlist\Browser\GeneralUtility' not found 94/26994/2
authorOliver Hader <oliver@typo3.org>
Wed, 22 Jan 2014 13:43:03 +0000 (14:43 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 22 Jan 2014 13:47:51 +0000 (14:47 +0100)
Fixing regression from issue #54995 and use
namespaced class name in TYPO3_6-1 branch.

Fixes: #55246
Releases: 6.1
Change-Id: I0f98de7664a81ba72262e8f85e690240d53c9c23
Reviewed-on: https://review.typo3.org/26994
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php

index 0987ba5..529110e 100644 (file)
@@ -698,10 +698,10 @@ class ElementBrowser {
 
                // Initializing the action value, possibly removing blinded values etc:
                $blindLinkOptions = isset($this->thisConfig['blindLinkOptions'])
-                       ? GeneralUtility::trimExplode(',', $this->thisConfig['blindLinkOptions'], TRUE)
+                       ? \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $this->thisConfig['blindLinkOptions'], TRUE)
                        : array();
                $pBlindLinkOptions = isset($this->P['params']['blindLinkOptions'])
-                       ? GeneralUtility::trimExplode(',', $this->P['params']['blindLinkOptions'])
+                       ? \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $this->P['params']['blindLinkOptions'])
                        : array();
                $allowedItems = array_diff(array('page', 'file', 'folder', 'url', 'mail', 'spec'), $blindLinkOptions, $pBlindLinkOptions);
 
@@ -712,10 +712,10 @@ class ElementBrowser {
 
                // Removing link fields if configured
                $blindLinkFields = isset($this->thisConfig['blindLinkFields'])
-                       ? GeneralUtility::trimExplode(',', $this->thisConfig['blindLinkFields'], TRUE)
+                       ? \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $this->thisConfig['blindLinkFields'], TRUE)
                        : array();
                $pBlindLinkFields = isset($this->P['params']['blindLinkFields'])
-                       ? GeneralUtility::trimExplode(',', $this->P['params']['blindLinkFields'], TRUE)
+                       ? \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $this->P['params']['blindLinkFields'], TRUE)
                        : array();
                $allowedFields = array_diff(array('target', 'title', 'class', 'params'), $blindLinkFields, $pBlindLinkFields);