Project

General

Profile

Actions

Bug #33625

closed

insufficient handling of $GLOBALS['TCA'][$table]['ctrl']['versioningWS'] in class.t3lib_tcemain.php

Added by Rolf Hofmann about 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2012-02-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Setting $GLOBALS['TCA'][$table]['ctrl']['versioningWS'] = FALSE won't disable versioning because of insufficient handling in class.t3lib_tcemain.php

All occurrences of

if (isset($GLOBALS['TCA'][$table]['ctrl']['versioningWS'])) {}

should be changed to

if (isset($GLOBALS['TCA'][$table]['ctrl']['versioningWS']) && $GLOBALS['TCA'][$table]['ctrl']['versioningWS']) {}

Files

patch_20120202.diff (1005 Bytes) patch_20120202.diff Rolf Hofmann, 2012-02-02 15:20
Actions

Also available in: Atom PDF