Code Duplication    Length = 3-3 lines in 2 locations

typo3/sysext/backend/Classes/Tree/View/FolderTreeView.php 1 location

@@ 668-670 (lines=3) @@
665
        if ($PM === null) {
666
            $PM = GeneralUtility::_GP('PM');
667
            // IE takes anchor as parameter
668
            if (($PMpos = strpos($PM, '#')) !== false) {
669
                $PM = substr($PM, 0, $PMpos);
670
            }
671
        }
672
        // Take the first three parameters
673
        list($mountKey, $doExpand, $folderIdentifier) = array_pad(explode('_', $PM, 3), 3, null);

typo3/sysext/backend/Classes/View/PageTreeView.php 1 location

@@ 133-135 (lines=3) @@
130
        // -- evaluate AJAX request
131
        // IE takes anchor as parameter
132
        $PM = GeneralUtility::_GP('PM');
133
        if (($PMpos = strpos($PM, '#')) !== false) {
134
            $PM = substr($PM, 0, $PMpos);
135
        }
136
        $PM = explode('_', $PM);
137
138
        $doCollapse = false;