Actions
Bug #21690
closed[Caching framework] API usage: Make sure lifetime is NULL or integer
Start date:
2010-08-08
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The following patch will be committed in 72 hours if nobody objects:
Type: Bug
Branches: trunk, 4.4, 4.3
BT:
Problem:
The set() API of cache frontends expects lifetime to be either NULL or an integer. This is not always the case in core: If the lifetime comes from TS settings its type is string.
Solution:
Use intval() lifetimes.
(issue imported from #M15393)
Files
Updated by Christian Kuhn over 14 years ago
- trunk rev. 8572
- 4.4 rev. 8573
- 4.3 rev. 8574
Actions