]> 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:14:23 +0000 (08:14 -0500)
committerReed Loden <reed@reedloden.com>
Tue, 18 May 2010 13:14:23 +0000 (08:14 -0500)
[r=LpSolit a=LpSolit]

Bugzilla/Template.pm

index 0c2f99c169d406a2638a681a6af21114aee3ed69..87114c95d2a5bfb42d9d0ad79e5928b8ba672cc6 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};