aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorJonathan Stanley <shs@users.sourceforge.net>2007-04-13 04:13:50 +0000
committerJonathan Stanley <shs@users.sourceforge.net>2007-04-13 04:13:50 +0000
commita8afdd121525d7adfe37e09f535472557ff36e2f (patch)
tree04e02e29eba942b8ae6370b565d00a4ae065611a /phpBB/includes/functions.php
parenta05c522f313ab5e1acc81569e9fa54022907e845 (diff)
downloadforums-a8afdd121525d7adfe37e09f535472557ff36e2f.tar
forums-a8afdd121525d7adfe37e09f535472557ff36e2f.tar.gz
forums-a8afdd121525d7adfe37e09f535472557ff36e2f.tar.bz2
forums-a8afdd121525d7adfe37e09f535472557ff36e2f.tar.xz
forums-a8afdd121525d7adfe37e09f535472557ff36e2f.zip
#9736
Quidquid latine dictum sit, altum sonatur. :P git-svn-id: file:///svn/phpbb/trunk@7341 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index d20002dd96..594b1c4346 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -3299,7 +3299,7 @@ function truncate_string($string, $max_length = 60, $allow_reply = true, $append
$strip_reply = false;
$stripped = false;
- if ($allow_reply && strpos($string, 'Re: ') === 0)
+ if ($allow_reply && strpos($string, $user->lang['SUBJECT_CONCERNING_PREFIX']) === 0)
{
$strip_reply = true;
$string = substr($string, 4);
@@ -3318,7 +3318,7 @@ function truncate_string($string, $max_length = 60, $allow_reply = true, $append
if ($strip_reply)
{
- $string = 'Re: ' . $string;
+ $string = $user->lang['SUBJECT_CONCERNING_PREFIX'] . $string;
}
if ($append != '' && $stripped)