includes/pageutils.php
changeset 825 9d5c04c1414f
parent 801 eb8b23f11744
child 832 7152ca0a0ce9
--- a/includes/pageutils.php	Sat Jan 17 15:16:36 2009 -0500
+++ b/includes/pageutils.php	Sun Jan 25 21:18:05 2009 -0500
@@ -694,7 +694,7 @@
       $i++;
       $strings = Array();
       $bool = Array();
-      if ( $session->get_permissions('mod_comments') || $row['approved'] )
+      if ( $session->get_permissions('mod_comments') || $row['approved'] == COMMENT_APPROVED )
       {
         $list .= $i . ' : { \'comment\' : unescape(\''.rawurlencode($row['comment_data']).'\'), \'name\' : unescape(\''.rawurlencode($row['name']).'\'), \'subject\' : unescape(\''.rawurlencode($row['subject']).'\'), }, ';