fixed zealous mistake

git-svn-id: https://develop.svn.wordpress.org/trunk@937 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
michelvaldrighi 2004-02-26 13:05:38 +00:00
parent 827803e775
commit 8362ebf1e7
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ $now = gmdate('Y-m-d H:i:00');
if ($pagenow != 'post.php' && $pagenow != 'edit.php') {
if ((empty($poststart)) || (empty($postend)) || !($postend > $poststart)) {
$where .= " AND $wp_posts_post_date_field <= '$now'";
$where .= " AND post_date <= '$now'";
}
$distinct = 'DISTINCT';