Show comments properly on main page

This commit is contained in:
Jamie Cameron
2010-06-25 12:01:36 -07:00
parent d81e7ec476
commit a674806667

View File

@@ -223,7 +223,8 @@ else {
push(@cols, &describe_rule($r));
}
if ($config{'view_comment'}) {
$cmt = $config{'comment_mod'} ?
$cmt = $config{'comment_mod'} ||
$r->{'comment'} ?
$r->{'comment'}->[1] : $r->{'cmt'};
push(@cols, $cmt);
}