Fix for bug 1453:
Automatic "Re:" prefixes in forum replies now don't get chained in languages where the "re:" string has length != 3.
This commit is contained in:
+3
-3
@@ -206,9 +206,9 @@
|
||||
$post->message = "";
|
||||
$post->format = $defaultformat;
|
||||
|
||||
$strre = get_string("re", "forum");
|
||||
if (!(substr($post->subject, 0, 3) == $strre)) {
|
||||
$post->subject = "$strre $post->subject";
|
||||
$strre = get_string('re', 'forum');
|
||||
if (!(substr($post->subject, 0, strlen($strre)) == $strre)) {
|
||||
$post->subject = $strre.' '.$post->subject;
|
||||
}
|
||||
|
||||
unset($SESSION->fromdiscussion);
|
||||
|
||||
Reference in New Issue
Block a user