summaryrefslogtreecommitdiffstats
path: root/core/include/page
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2018-01-08 23:13:49 +0100
committerThomas Lange <code@nerdmind.de>2018-01-08 23:13:49 +0100
commitb0fba5798b576e05de0654c0414a7f6df9b3e39b (patch)
tree7fe9e2dae8c1da454f283cd7faf7d6c097a1757a /core/include/page
parentebb890d0c6280653360045d13ca233b68697be2b (diff)
downloadblog-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/page')
0 files changed, 0 insertions, 0 deletions