diff options
author | Thomas Lange <code@nerdmind.de> | 2018-01-08 23:13:49 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2018-01-08 23:13:49 +0100 |
commit | b0fba5798b576e05de0654c0414a7f6df9b3e39b (patch) | |
tree | 7fe9e2dae8c1da454f283cd7faf7d6c097a1757a /core/include/post/list.php | |
parent | ebb890d0c6280653360045d13ca233b68697be2b (diff) | |
download | blog-b0fba5798b576e05de0654c0414a7f6df9b3e39b.tar.gz blog-b0fba5798b576e05de0654c0414a7f6df9b3e39b.tar.xz blog-b0fba5798b576e05de0654c0414a7f6df9b3e39b.zip |
Bugfix: Incorrect behavior of the "truncate" function in some circumstances:
If the first word from $string was longer than $length characters, then the regular expression had not truncated the string at all (for example, a string with a total length of 2000 characters was displayed without any cut, but with the $replace string at the end).
This bug has been reported by Markus Hackspacher (https://github.com/MarkusHackspacher).
Diffstat (limited to 'core/include/post/list.php')
0 files changed, 0 insertions, 0 deletions