]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 566499 - "#c0 links have the wrong href"
authorReed Loden <reed@reedloden.com>
Tue, 18 May 2010 13:12:59 +0000 (08:12 -0500)
committerReed Loden <reed@reedloden.com>
Tue, 18 May 2010 13:12:59 +0000 (08:12 -0500)
[r=LpSolit a=LpSolit]

Bugzilla/Template.pm

index a4e250cfce05e5315dddd4e24f263b7b42e324e5..71370a8c19f5b8714fd64e430948e579cc7d60cf 100644 (file)
@@ -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};