mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 00:07:44 +02:00
Quidquid latine dictum sit, altum sonatur. :P git-svn-id: file:///svn/phpbb/trunk@7341 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user