summaryrefslogtreecommitdiffstats
path: root/wp-includes/category.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-01-11 15:57:00 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-01-11 15:57:00 +0000
commite4426def6d30d301a3f2eb8f7270345d9781edfe (patch)
treee881e449092e7f1617cad3d89e0a7a3878641fb3 /wp-includes/category.php
parenta35bb9df8c7816a6facf68ff963d5350999befe4 (diff)
WP Merge to rev 4721
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@840 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/category.php')
-rw-r--r--wp-includes/category.php2
1 files changed, 1 insertions, 1 deletions
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);
}