Wrong variable used in previous update.


git-svn-id: http://svn.automattic.com/wordpress/trunk@554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2003-11-23 09:07:31 +00:00
parent f33ef28bfc
commit 451de48541
1 changed files with 2 additions and 2 deletions

View File

@ -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 = ''; $limits = '';
} }
} }
@ -306,7 +306,7 @@ if ($preview) {
$posts = $wpdb->get_results($request); $posts = $wpdb->get_results($request);
if (1 == count($posts)) { if (1 == count($posts)) {
if ($id || $name) { if ($p || $name) {
$more = 1; $more = 1;
$c = 1; $c = 1;
$single = 1; $single = 1;