[TYPO3-core] FYI72: Bug #15393: [Caching framework] API usage: Make sure lifetime is NULL or integer
Christian Kuhn
lolli at schwarzbu.ch
Sun Aug 8 13:55:53 CEST 2010
The following patch will be committed in 72 hours if nobody objects:
Type: Bug
Branches: trunk, 4.4, 4.3
BT: http://bugs.typo3.org/view.php?id=15393
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:
intval() lifetimes.
Regards
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15393_01.diff
Type: text/x-patch
Size: 1555 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100808/c474eea3/attachment.bin>
More information about the TYPO3-team-core
mailing list