Bug #17933 ยป bug_6996.diff
typo3/sysext/version/class.tx_version_cm1.php (working copy) | ||
---|---|---|
global $BE_USER,$TCA,$LANG;
|
||
|
||
$localItems = Array();
|
||
if (!$backRef->cmLevel && $uid>0 && $BE_USER->check('modules','txversionM1')) {
|
||
if (!$backRef->cmLevel && $uid>0 && $BE_USER->check('modules','web_txversionM1')) {
|
||
// Returns directly, because the clicked item was not from the pages table
|
||
if (!$TCA[$table] || !$TCA[$table]['ctrl']['versioningWS']) return $menuItems;
|