Index: themes/chameleon/chameleon.theme
===================================================================
RCS file: /cvs/drupal/drupal/themes/chameleon/chameleon.theme,v
retrieving revision 1.70
diff -u -p -r1.70 chameleon.theme
--- themes/chameleon/chameleon.theme	19 Oct 2007 10:19:03 -0000	1.70
+++ themes/chameleon/chameleon.theme	25 Oct 2007 07:51:29 -0000
@@ -152,15 +152,15 @@ function chameleon_node($node, $teaser =
   return $output;
 }
 
-function chameleon_comment($comment, $links = "") {
+function chameleon_comment($comment, $node, $links = array()) {
   $submitted['comment_submitted'] = array(
     'title' => t('By !author at @date', array('!author' => theme('username', $comment), '@date' => format_date($comment->timestamp, 'small'))),
     'html' => TRUE);
 
   $output  = "<div class=\"comment". ($comment->status == COMMENT_NOT_PUBLISHED ? ' comment-unpublished' : '') ."\">\n";
-  $output .= " <h3 class=\"title\">". l($comment->subject, $_GET['q'], NULL, NULL, "comment-$comment->cid") ."</h3>\n";
+  $output .= " <h3 class=\"title\">". l($comment->subject, $_GET['q'], array('fragment' => "comment-$comment->cid")) ."</h3>\n";
   $output .= " <div class=\"content\">". $comment->comment;
-  if ($signature) {
+  if (!empty($signature)) {
     $output .= "  <div class=\"clear-block\">";
     $output .= "<div>—</div>\n";
     $output .= $signature ."\n";
