mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Fix SQL error
git-svn-id: https://develop.svn.wordpress.org/trunk@551 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -143,8 +143,8 @@ default:
|
||||
<div class="wrap">
|
||||
|
||||
<?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) {
|
||||
// list all comments that are waiting for approval
|
||||
$file = basename(__FILE__);
|
||||
|
||||
Reference in New Issue
Block a user