Project

General

Profile

Feature #16251 » bug_3687_versioning.diff

Administrator Admin, 2006-12-05 22:32

View differences:

typo3_src-4.0.3/typo3/sysext/version/class.tx_version_cm1.php 2006-12-05 22:29:23.000000000 +0100
if (!$backRef->cmLevel && $uid>0) {
// Returns directly, because the clicked item was not from the pages table
if (!$TCA[$table] || !$TCA[$table]['ctrl']['versioningWS']) return $menuItems;
if (in_array('versioning',$backRef->disabledItems) || !$TCA[$table] || !$TCA[$table]['ctrl']['versioningWS']) return $menuItems;
// Adds the regular item
$LL = $this->includeLL();
(1-1/3)