Wrong variable used in previous update.


git-svn-id: https://develop.svn.wordpress.org/trunk@554 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2003-11-23 09:07:31 +00:00
parent c08d7f6082
commit ef9e036f4a
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 = '';
}
}
@ -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;