From 8395b77e6d9fb76d7ea1f628f01eb950395a8bdf Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sun, 26 Oct 2003 19:21:04 +0000 Subject: [PATCH] Fix for limits again. git-svn-id: http://svn.automattic.com/wordpress/trunk@474 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 a61489719..7bbed6060 100644 --- a/blog.header.php +++ b/blog.header.php @@ -13,7 +13,7 @@ require_once ($curpath.$b2inc.'/b2functions.php'); require_once ($curpath.$b2inc.'/xmlrpc.inc'); require_once ($curpath.$b2inc.'/xmlrpcs.inc'); -$b2varstoreset = array('m','p','posts','w','c', 'cat','withcomments','s','search','exact', 'sentence','poststart','postend','preview','debug', 'calendar','page','paged','more','tb', 'pb','author','order','orderby', 'monthnum'); +$b2varstoreset = array('m','p','posts','w','c', 'cat','withcomments','s','search','exact', 'sentence','poststart','postend','preview','debug', 'calendar','page','paged','more','tb', 'pb','author','order','orderby', 'year', 'monthnum', 'day', 'name'); for ($i=0; $i $poststart) && (!$m) && !$month && !$year && !$day &&(!$w) && (!$whichcat) && (!$s) && (!$p)) { +if ( !empty($postend) && ($postend > $poststart) && (!$m) && empty($monthnum) && empty($year) && empty($day) &&(!$w) && (!$whichcat) && (!$s) && (!$p)) { if ($what_to_show == 'posts' || ($what_to_show == 'paged' && (!$paged))) { $poststart = intval($poststart); $postend = intval($postend);