From 8a5c380f95c29189efb561e636df840b154a9499 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Fri, 9 Jan 2004 10:17:28 +0000 Subject: [PATCH] Category fix from TheJason. git-svn-id: http://svn.automattic.com/wordpress/trunk@746 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-blog-header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-blog-header.php b/wp-blog-header.php index 643dad2941..8811053629 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -158,7 +158,7 @@ if ((empty($cat)) || ($cat == 'all') || ($cat == '0')) { $cat_array = explode(' ',$cat); $whichcat .= ' AND (category_id '.$eq.' '.intval($cat_array[0]); for ($i = 1; $i < (count($cat_array)); $i = $i + 1) { - $whichcat .= ' '.$andor.' post_category '.$eq.' '.intval($cat_array[$i]); + $whichcat .= ' '.$andor.' category_id '.$eq.' '.intval($cat_array[$i]); } $whichcat .= ')'; }