Project

General

Profile

Bug #12272 ยป 12272.patch

Tolleiv Nietsch, 2011-01-16 12:07

View differences:

Classes/BackendUserInterface/WorkspaceSelectorToolbarItem.php (working copy)
if (t3lib_extMgm::isLoaded('workspaces')) {
if ($this->checkAccess == NULL) {
$availableWorkspaces = tx_Workspaces_Service_Workspaces::getAvailableWorkspaces();
if (count($availableWorkspaces) > 1) {
if (count($availableWorkspaces) > 0) {
$this->checkAccess = TRUE;
} else {
$this->checkAccess = FALSE;
    (1-1/1)