Actions
Bug #19918
closedt3lib_div::fixed_lgd_cs needs a third parameter for appending a custom string to a truncated string
Start date:
2009-01-26
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Problem:
4.3 encourages developers not to use the deprecated function fixed_lgd anymore. Instead, fixed_ldg_cs shall be used. The new method lacks one parameter the old one had, i.e. a string that may be appended to the truncated string. Instead we now have hardcoded '...' in fixed_ldg_cs.
Solution:
Introduce a third parameter named $appendString that defaults to '...'.
Patch is attached.
(issue imported from #M10272)
Files
Actions