Project

General

Profile

Bug #17933 ยป bug_6996.diff

Administrator Admin, 2007-12-17 18:49

View differences:

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;
    (1-1/1)