From d4adb0fff6f23c4f5a82f6b50e28b29c1f5a2755 Mon Sep 17 00:00:00 2001 From: michelvaldrighi Date: Thu, 26 Feb 2004 16:08:12 +0000 Subject: [PATCH] what an idiot, I had broken ?m= git-svn-id: https://develop.svn.wordpress.org/trunk@941 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-blog-header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-blog-header.php b/wp-blog-header.php index fa4ce8d92f..4fcd7c808a 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -121,7 +121,7 @@ $wp_posts_post_date_field = "DATE_ADD(post_date, INTERVAL '$add_hours:$add_minut // if a month is specified in the querystring, load that month if ($m != '') { $m = ''.intval($m); - $where .= " AND YEAR($wp_posts_post_date_fieldpost_date)=".substr($m,0,4); + $where .= " AND YEAR($wp_posts_post_date_field)=".substr($m,0,4); if (strlen($m)>5) $where .= " AND MONTH($wp_posts_post_date_field)=".substr($m,4,2); if (strlen($m)>7)