Commit b9f1149d authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 298273: Marking duplicates misses 'Bug' before the number - Patch by Marc…

Bug 298273: Marking duplicates misses 'Bug' before the number - Patch by Marc Schumann <wurblzap@gmail.com> r=LpSolit a=justdave
parent 3e48dcd0
......@@ -825,7 +825,7 @@ sub quoteUrls {
"<a href=\"#c$4\">$1</a>")
~egox;
# Duplicate markers
# Old duplicate markers
$text =~ s~(?<=^\*\*\*\ This\ bug\ has\ been\ marked\ as\ a\ duplicate\ of\ )
(\d+)
(?=\ \*\*\*\Z)
......
......@@ -1044,7 +1044,7 @@ SWITCH: for ($cgi->param('knob')) {
ChangeResolution('DUPLICATE');
my $comment = $cgi->param('comment');
$comment .= "\n\n*** This bug has been marked " .
"as a duplicate of $duplicate ***";
"as a duplicate of bug $duplicate ***";
$cgi->param('comment', $comment);
last SWITCH;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment