From e4426def6d30d301a3f2eb8f7270345d9781edfe Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 11 Jan 2007 15:57:00 +0000 Subject: WP Merge to rev 4721 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@840 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wp-includes/category.php') diff --git a/wp-includes/category.php b/wp-includes/category.php index 6025a67..7f47161 100644 --- a/wp-includes/category.php +++ b/wp-includes/category.php @@ -294,7 +294,7 @@ function _pad_category_counts($type, &$categories) { } // Transfer the touched cells - foreach ( $cat_items as $id => $items ) + foreach ( (array) $cat_items as $id => $items ) if ( isset($cats[$id]) ) $cats[$id]->{'link' == $type ? 'link_count' : 'category_count'} = count($items); } -- cgit