From 71320dae661a8ca351128d917c894b0f8318eaf3 Mon Sep 17 00:00:00 2001 From: Guy Pyrzak Date: Sun, 3 Oct 2010 13:44:42 -0700 Subject: Bug 65477: Send HTML bugmail r=mkanat, a=mkanat --- Bugzilla/Template.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Bugzilla/Template.pm') diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 5ff5482b2..ee4d6cba2 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -348,8 +348,12 @@ sub get_bug_link { } # Prevent code injection in the title. $title = html_quote(clean_text($title)); - my $linkval = "show_bug.cgi?id=" . $bug->id; + + if ($options->{full_url}) { + $linkval = correct_urlbase() . $linkval; + } + if (defined $options->{comment_num}) { $linkval .= "#c" . $options->{comment_num}; } -- cgit v1.2.3-24-g4f1b