diff options
author | Guy Pyrzak <guy.pyrzak@gmail.com> | 2010-10-03 22:44:42 +0200 |
---|---|---|
committer | Guy Pyrzak <guy.pyrzak@gmail.com> | 2010-10-03 22:44:42 +0200 |
commit | 71320dae661a8ca351128d917c894b0f8318eaf3 (patch) | |
tree | 7a868603eae8d17bb069d5d54d4635ee41ba1a5a /Bugzilla/Template.pm | |
parent | 22c1448223846c21addc7c1b1896989191163429 (diff) | |
download | bugzilla-71320dae661a8ca351128d917c894b0f8318eaf3.tar.gz bugzilla-71320dae661a8ca351128d917c894b0f8318eaf3.tar.xz |
Bug 65477: Send HTML bugmail
r=mkanat, a=mkanat
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r-- | Bugzilla/Template.pm | 6 |
1 files changed, 5 insertions, 1 deletions
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}; } |