summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2010-05-18 15:12:59 +0200
committerReed Loden <reed@reedloden.com>2010-05-18 15:12:59 +0200
commit1b3cfca0a66dd40ceb69a8fc514cc94910c6d69e (patch)
treee1abbacc242b08964829fa5100e50a4f8797b096 /Bugzilla/Template.pm
parentacdcae1b0c2f6e355390f7e7ddf768c79402c313 (diff)
downloadbugzilla-1b3cfca0a66dd40ceb69a8fc514cc94910c6d69e.tar.gz
bugzilla-1b3cfca0a66dd40ceb69a8fc514cc94910c6d69e.tar.xz
Bug 566499 - "#c0 links have the wrong href"
[r=LpSolit a=LpSolit]
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index a4e250cfc..71370a8c1 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -351,7 +351,7 @@ sub get_bug_link {
$title = html_quote(clean_text($title));
my $linkval = "show_bug.cgi?id=" . $bug->id;
- if ($options->{comment_num}) {
+ if (defined $options->{comment_num}) {
$linkval .= "#c" . $options->{comment_num};
}
return qq{$pre<a href="$linkval" title="$title">$link_text</a>$post};