diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-01-17 13:54:55 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-01-17 13:54:55 +0000 |
| commit | 26b0392f7796ed87daa7725a33ac87057b3b2a4c (patch) | |
| tree | a2ca18226dc80a13acb617207228b73b10928125 /wp-includes/query.php | |
| parent | 72e9496bfc2f7a962cf4f428ccab25c7a0175aaa (diff) | |
WP Merge to rev 4759
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@850 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/query.php')
| -rw-r--r-- | wp-includes/query.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-includes/query.php b/wp-includes/query.php index 05f424d..04a07df 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -804,6 +804,8 @@ class WP_Query { }
if ( strlen($out_posts) > 0 )
$out_cats = " AND ID NOT IN ($out_posts)";
+ else
+ $out_cats = '';
}
$whichcat = $in_cats . $out_cats;
$groupby = "{$wpdb->posts}.ID";
|
