[TASK] Reapply direct changes of TYPO3 Core
[Packages/TYPO3.CMS.git] / typo3 / sysext / workspaces / Classes / Controller / ReviewController.php
index 1e2646c..f0b7a7a 100644 (file)
@@ -45,7 +45,7 @@ class Tx_Workspaces_Controller_ReviewController extends Tx_Workspaces_Controller
                $performWorkspaceSwitch = FALSE;
 
                if (!$GLOBALS['BE_USER']->isAdmin()) {
-                       $wsCur = array($activeWorkspace => true);
+                       $wsCur = array($activeWorkspace => TRUE);
                        $wsList = array_intersect_key($wsList, $wsCur);
                } else {
                        $wsList = $wsService->getAvailableWorkspaces();
@@ -81,8 +81,8 @@ class Tx_Workspaces_Controller_ReviewController extends Tx_Workspaces_Controller
                } else {
                        $wsService = t3lib_div::makeInstance('tx_Workspaces_Service_Workspaces');
                        $this->view->assign('pageUid', t3lib_div::_GP('id'));
-                       $this->view->assign('showGrid', true);
-                       $this->view->assign('showLegend', true);
+                       $this->view->assign('showGrid', TRUE);
+                       $this->view->assign('showLegend', TRUE);
                        $this->view->assign('showAllWorkspaceTab', $GLOBALS['BE_USER']->isAdmin());
                        $this->view->assign('workspaceList', $wsService->getAvailableWorkspaces());
                        $this->view->assign('activeWorkspaceUid', tx_Workspaces_Service_Workspaces::SELECT_ALL_WORKSPACES);
@@ -105,12 +105,12 @@ class Tx_Workspaces_Controller_ReviewController extends Tx_Workspaces_Controller
                $wsList = $wsService->getAvailableWorkspaces();
                $activeWorkspace = $GLOBALS['BE_USER']->workspace;
 
-               $wsCur = array($activeWorkspace => true);
+               $wsCur = array($activeWorkspace => TRUE);
                $wsList = array_intersect_key($wsList, $wsCur);
 
                $this->view->assign('pageUid', t3lib_div::_GP('id'));
-               $this->view->assign('showGrid', true);
-               $this->view->assign('showAllWorkspaceTab', false);
+               $this->view->assign('showGrid', TRUE);
+               $this->view->assign('showAllWorkspaceTab', FALSE);
                $this->view->assign('workspaceList', $wsList);
                $this->view->assign('backendDomain', t3lib_div::getIndpEnv('TYPO3_HOST_ONLY'));
                $this->pageRenderer->addInlineSetting('Workspaces', 'singleView', '1');