From 1b3cfca0a66dd40ceb69a8fc514cc94910c6d69e Mon Sep 17 00:00:00 2001 From: Reed Loden Date: Tue, 18 May 2010 08:12:59 -0500 Subject: Bug 566499 - "#c0 links have the wrong href" [r=LpSolit a=LpSolit] --- Bugzilla/Template.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Template.pm') 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$link_text$post}; -- cgit v1.2.3-24-g4f1b