Fix SQL error

git-svn-id: http://svn.automattic.com/wordpress/trunk@551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
mikelittle 2003-11-23 01:15:24 +00:00
parent d08bcaead8
commit 089eae017b
1 changed files with 2 additions and 2 deletions

View File

@ -143,8 +143,8 @@ default:
<div class="wrap"> <div class="wrap">
<?php <?php
$comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_approved = '0'");
$comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_approved = 0");
if ($comments) { if ($comments) {
// list all comments that are waiting for approval // list all comments that are waiting for approval
$file = basename(__FILE__); $file = basename(__FILE__);