Bug #71094 ยป pagetree.6.2.14.patch
typo3_src-6.2.14/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeCommands.php 2015-10-28 11:34:55.336923734 +0100 | ||
---|---|---|
if (count($mountPoints) == 0) {
|
||
$mountPoints = array(0);
|
||
}
|
||
$mountPoints[] = (int)$GLOBALS['BE_USER']->uc['pageTree_temporaryMountPoint'];
|
||
$mountPoints = array_unique($mountPoints);
|
||
if(!is_null($GLOBALS['BE_USER']->uc['pageTree_temporaryMountPoint'])){
|
||
$mountPoints[] = (int)$GLOBALS['BE_USER']->uc['pageTree_temporaryMountPoint'];
|
||
$mountPoints = array_unique($mountPoints);
|
||
}
|
||
/** @var $userSettings \TYPO3\CMS\Backend\User\ExtDirect\BackendUserSettingsDataProvider */
|
||
$userSettings = GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\User\\ExtDirect\\BackendUserSettingsDataProvider');
|
||
$state = $userSettings->get('BackendComponents.States.' . $stateId);
|