From dc51764615111c76396248ddf17372b7b9d3df6b Mon Sep 17 00:00:00 2001 From: Jonathan Stanley Date: Fri, 13 Apr 2007 05:03:55 +0000 Subject: [PATCH] #9736 Quidquid latine dictum sit, altum sonatur... redux! :P git-svn-id: file:///svn/phpbb/trunk@7345 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 594b1c4346..61aba60146 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -3295,6 +3295,8 @@ function get_preg_expression($mode) */ function truncate_string($string, $max_length = 60, $allow_reply = true, $append = '') { + global $user; + $chars = array(); $strip_reply = false;