--- a/includes/template.php Mon Jun 16 19:16:12 2008 -0400
+++ b/includes/template.php Mon Jun 16 19:20:13 2008 -0400
@@ -602,8 +602,8 @@
}
$db->free_result();
- $n = ( $perms->get_permissions('mod_comments') ) ? (string)$nc : (string)$na;
- if ( $perms->get_permissions('mod_comments') && $nu > 0 )
+ $n = ( $session->check_acl_scope('mod_comments', $local_namespace) && $perms->get_permissions('mod_comments') ) ? (string)$nc : (string)$na;
+ if ( $session->check_acl_scope('mod_comments', $local_namespace) && $perms->get_permissions('mod_comments') && $nu > 0 )
{
$subst = array(
'num_comments' => $nc,