Bug #11825 » 11825.patch
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;
|
Classes/Service/Workspaces.php (working copy) | ||
---|---|---|
* @return array
|
||
*/
|
||
protected function filterPermittedElements($recs, $table) {
|
||
$checkField = ($table == 'pages') ? 'uid' : 'pid';
|
||
$checkField = ($table == 'pages') ? 'uid' : 'wspid';
|
||
$permittedElements = array();
|
||
if (is_array($recs)) {
|
||
foreach ($recs as $rec) {
|
- « Previous
- 1
- 2
- 3
- Next »