Issue Bug Closed

#19918t3lib_div::fixed_lgd_cs needs a third parameter for appending a custom string to a truncated string

Uschi Renziehausen 01/26/09, 15:02 updated 10/02/18, 12:27

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.