aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
author3D-I <480857+3D-I@users.noreply.github.com>2019-09-10 05:59:08 +0200
committer3D-I <480857+3D-I@users.noreply.github.com>2019-09-10 06:00:59 +0200
commit78c1957e48d58672690d67b4450ab32687242944 (patch)
tree529d5937ade7acfb6d1bd377ad2d801018e7ebd5 /phpBB/includes
parent4db585a4cb2e5359074a82ef088574609155294b (diff)
downloadforums-78c1957e48d58672690d67b4450ab32687242944.tar
forums-78c1957e48d58672690d67b4450ab32687242944.tar.gz
forums-78c1957e48d58672690d67b4450ab32687242944.tar.bz2
forums-78c1957e48d58672690d67b4450ab32687242944.tar.xz
forums-78c1957e48d58672690d67b4450ab32687242944.zip
[ticket/16153] Enable Emojis and rich text in Topic title
PHPBB3-16153
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_display.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 792467019f..3a2f4a7249 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -539,7 +539,8 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
{
if ($row['forum_password_last_post'] === '' && $auth->acl_gets('f_read', 'f_list_topics', $row['forum_id_last_post']))
{
- $last_post_subject = censor_text($row['forum_last_post_subject']);
+ $last_post_subject = utf8_decode_ncr(censor_text($row['forum_last_post_subject']));
+
$last_post_subject_truncated = truncate_string($last_post_subject, 30, 255, false, $user->lang['ELLIPSIS']);
}
else