Remove rel_type ref

git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-04-25 18:54:29 +00:00
parent 15d3bf89ce
commit 9fadff8d4b
1 changed files with 1 additions and 1 deletions

View File

@ -884,7 +884,7 @@ class WP_Query {
$whichcat = " AND category_id IN ({$q['cat']}, ";
$whichcat .= get_category_children($q['cat'], '', ', ');
$whichcat = substr($whichcat, 0, -2);
$whichcat .= ") AND rel_type = 'category'";
$whichcat .= ")";
$groupby = "{$wpdb->posts}.ID";
}