From 451de485419c92db1b92332b3f53763e2eba7796 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sun, 23 Nov 2003 09:07:31 +0000 Subject: [PATCH] Bug fix: http://wordpress.org/support/6/1084 . Wrong variable used in previous update. git-svn-id: http://svn.automattic.com/wordpress/trunk@554 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- blog.header.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blog.header.php b/blog.header.php index ddcce1081..f9c5e821d 100644 --- a/blog.header.php +++ b/blog.header.php @@ -263,7 +263,7 @@ if ( !empty($postend) && ($postend > $poststart) && (!$m) && empty($monthnum) && } } } - elseif (($m) || ($p) || ($w) || ($s) || ($whichcat) || ($author)) { + elseif (($m) || ($p) || ($w) || ($s) || ($whichcat) || ($author) || $monthnum || $year || $day) { $limits = ''; } } @@ -306,7 +306,7 @@ if ($preview) { $posts = $wpdb->get_results($request); if (1 == count($posts)) { - if ($id || $name) { + if ($p || $name) { $more = 1; $c = 1; $single = 1;