diff options
Diffstat (limited to 'phpBB/includes/functions_content.php')
-rw-r--r-- | phpBB/includes/functions_content.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php index 68c0d3edf1..df25451266 100644 --- a/phpBB/includes/functions_content.php +++ b/phpBB/includes/functions_content.php @@ -763,6 +763,8 @@ function make_clickable_callback($type, $whitespace, $url, $relative_url, $class // set last_char to empty here, so the variable can be used later to // check whether a character was removed default: + $last_char = ''; + break; } $short_url = (utf8_strlen($url) > 55) ? utf8_substr($url, 0, 39) . ' ... ' . utf8_substr($url, -10) : $url; |