Revert "[BUGFIX] Use correct parameter type in insertPositionIcon"
authorJigal van Hemert <jigal@xs4all.nl>
Sun, 25 Nov 2012 12:20:33 +0000 (13:20 +0100)
committerJigal van Hemert <jigal@xs4all.nl>
Sun, 25 Nov 2012 12:21:41 +0000 (13:21 +0100)
This reverts commit 8e0b7cba6649ee92cd741b119277f05a7481df8a

Change-Id: I03c5aa86d3ef07dab5a9de9f4c59f1c3b3fb9a48
Reviewed-on: http://review.typo3.org/16723
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/backend/Classes/Tree/View/PagePositionMap.php

index 4ead222..cc82198 100644 (file)
@@ -376,7 +376,7 @@ class PagePositionMap {
                foreach ($colPosArray as $kk => $vv) {
                        $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 'tt_content', 'pid=' . intval($pid) . ($showHidden ? '' : \TYPO3\CMS\Backend\Utility\BackendUtility::BEenableFields('tt_content')) . ' AND colPos=' . intval($vv) . (strcmp($this->cur_sys_language, '') ? ' AND sys_language_uid=' . intval($this->cur_sys_language) : '') . \TYPO3\CMS\Backend\Utility\BackendUtility::deleteClause('tt_content') . \TYPO3\CMS\Backend\Utility\BackendUtility::versioningPlaceholderClause('tt_content'), '', 'sorting');
                        $lines[$vv] = array();
-                       $lines[$vv][] = $this->insertPositionIcon(array('uid' => ''), $vv, $kk, $moveUid, $pid);
+                       $lines[$vv][] = $this->insertPositionIcon('', $vv, $kk, $moveUid, $pid);
                        while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
                                \TYPO3\CMS\Backend\Utility\BackendUtility::workspaceOL('tt_content', $row);
                                if (is_array($row)) {