]> git.donarmstrong.com Git - debbugs.git/commitdiff
* fix misusage of bug_links in Debbugs::CGI::Bugreport
authorDon Armstrong <don@donarmstrong.com>
Sat, 9 Aug 2008 03:35:16 +0000 (20:35 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sat, 9 Aug 2008 03:35:16 +0000 (20:35 -0700)
Debbugs/CGI/Bugreport.pm

index f86b2fc44ff91221adadde3c5779935d7780dc63..f2f26bd8cda5fe210dff53dfbfa3964dc06ff3d6 100644 (file)
@@ -329,8 +329,17 @@ sub handle_record{
          if (defined $time) {
               $output .= ' ('.strftime('%a, %d %b %Y %T GMT',gmtime($time)).') ';
          }
-         $output .= '<a href="' . html_escape(bug_links($bug_number, options => {msg => ($msg_number+1)},links_only => 1)) . '">Full text</a> and <a href="' .
-              html_escape(html_escape(bug_links($bug_number, options => {msg => ($msg_number+1),mbox => 'yes'},links_only => 1)) . '">rfc822 format</a> available.';
+         $output .= '<a href="' .
+              html_escape(bug_links(bug => $bug_number,
+                                    options => {msg => ($msg_number+1)},
+                                    links_only => 1,
+                                   )
+                         ) . '">Full text</a> and <a href="' .
+                              html_escape(bug_links(bug => $bug_number,
+                                                    options => {msg => ($msg_number+1),
+                                                                mbox => 'yes'},
+                                                    links_only => 1)
+                                         ) . '">rfc822 format</a> available.';
 
          $output = qq(<div class="$class"><hr>\n<a name="$msg_number"></a>\n) . $output . "</div>\n";
      }