Issue Bug Closed

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

Rolf Hofmann 02/02/12, 15:20 updated 10/24/17, 20:19

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']) {}

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.