fixed zealous mistake

git-svn-id: http://svn.automattic.com/wordpress/trunk@937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
michelvaldrighi 2004-02-26 13:05:38 +00:00
parent 179d7538d9
commit e0d7119fe0
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';