From: Reed Loden Date: Tue, 18 May 2010 13:12:59 +0000 (-0500) Subject: Bug 566499 - "#c0 links have the wrong href" X-Git-Tag: bugzilla-3.7.1~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b3cfca0a66dd40ceb69a8fc514cc94910c6d69e;p=thirdparty%2Fbugzilla.git Bug 566499 - "#c0 links have the wrong href" [r=LpSolit a=LpSolit] --- diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index a4e250cfce..71370a8c19 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};