1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/13454] Add excessively removed code back

PHPBB3-13454
This commit is contained in:
Marc Alexander
2015-12-24 15:44:55 +01:00
parent 73900d1857
commit 3f44f36817
5 changed files with 10 additions and 3 deletions

View File

@@ -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;