Actions
Bug #26503
closedEndtime cannot be removed
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-04-29
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
On Typo3 4.5.2, when you set the endtime to any record, save and then remove the endtime, it will not be removed, but use today date.
It's caused by this config on TCA of the record (field endtime):
'range' => array (
'upper' => mktime(3, 14, 7, 1, 19, 2038),
'lower' => mktime(0, 0, 0, date('m')-1, date('d'), date('Y'))
)
Probably, when you remove the endtime (it's set to 0) the TCE verifies that it's lower than the "lower" range set above and reset the value to today.
Files
Actions