aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJonathan Stanley <shs@users.sourceforge.net>2007-04-13 05:03:55 +0000
committerJonathan Stanley <shs@users.sourceforge.net>2007-04-13 05:03:55 +0000
commitdc51764615111c76396248ddf17372b7b9d3df6b (patch)
tree8e98c2fa7bee36c4aa92213fcd672d72bcdf4c6a /phpBB/includes
parenta0a78f7eb9943dc9fff0b99fab081cdecc957b03 (diff)
downloadforums-dc51764615111c76396248ddf17372b7b9d3df6b.tar
forums-dc51764615111c76396248ddf17372b7b9d3df6b.tar.gz
forums-dc51764615111c76396248ddf17372b7b9d3df6b.tar.bz2
forums-dc51764615111c76396248ddf17372b7b9d3df6b.tar.xz
forums-dc51764615111c76396248ddf17372b7b9d3df6b.zip
#9736
Quidquid latine dictum sit, altum sonatur... redux! :P git-svn-id: file:///svn/phpbb/trunk@7345 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 2 insertions, 0 deletions
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;