aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_content.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-12-24 15:44:55 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-01-06 13:52:11 +0100
commit3f44f368172f744499055c482dcaccb0108660ab (patch)
tree5fede10d8b651d40969b20b997aa6a55fbfd8a98 /phpBB/includes/functions_content.php
parent73900d1857a9a59eff82b224537a79110466ce7e (diff)
downloadforums-3f44f368172f744499055c482dcaccb0108660ab.tar
forums-3f44f368172f744499055c482dcaccb0108660ab.tar.gz
forums-3f44f368172f744499055c482dcaccb0108660ab.tar.bz2
forums-3f44f368172f744499055c482dcaccb0108660ab.tar.xz
forums-3f44f368172f744499055c482dcaccb0108660ab.zip
[ticket/13454] Add excessively removed code back
PHPBB3-13454
Diffstat (limited to 'phpBB/includes/functions_content.php')
-rw-r--r--phpBB/includes/functions_content.php2
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;