From: Reed Loden Date: Tue, 18 May 2010 13:14:23 +0000 (-0500) Subject: Bug 566499 - "#c0 links have the wrong href" X-Git-Tag: bugzilla-3.6.1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e31de4dc5da144744b9993040f401a10c9f6bfc;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 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};