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
Updated by Uschi Renziehausen almost 16 years ago
v2 of the patch pays better attention to cgl: tabs at the beginning of line, spaces inside lines.
Actions