From 3e31de4dc5da144744b9993040f401a10c9f6bfc Mon Sep 17 00:00:00 2001 From: Reed Loden Date: Tue, 18 May 2010 08:14:23 -0500 Subject: [PATCH] Bug 566499 - "#c0 links have the wrong href" [r=LpSolit a=LpSolit] --- Bugzilla/Template.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 0c2f99c169..87114c95d2 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$link_text$post}; -- 2.47.3