Skip to content

Commit

Permalink
Fix reveresed logic. see #6805
Browse files Browse the repository at this point in the history
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7786 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
ryanboren committed Apr 23, 2008
1 parent 1588a57 commit f6cfea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-admin/includes/template.php
Expand Up @@ -583,7 +583,7 @@ function _wp_get_comment_list( $status = '', $s = false, $start, $num ) {
elseif ( 'spam' == $status )
$approved = "comment_approved = 'spam'";
else
$approved = "( comment_approved != '0' OR comment_approved = '1' )";
$approved = "( comment_approved = '0' OR comment_approved = '1' )";

if ( $s ) {
$s = $wpdb->escape($s);
Expand Down

0 comments on commit f6cfea4

Please sign in to comment.