From 151e726b7bb00a3f46a64bb10c71011bd56dca34 Mon Sep 17 00:00:00 2001 From: donncha Date: Wed, 13 Jul 2005 16:52:09 +0000 Subject: Merge from WP Core, things are broken right now. git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@20 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-inst/wp-includes/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wp-inst/wp-includes/functions.php') diff --git a/wp-inst/wp-includes/functions.php b/wp-inst/wp-includes/functions.php index af027d7..7afec8c 100644 --- a/wp-inst/wp-includes/functions.php +++ b/wp-inst/wp-includes/functions.php @@ -1219,10 +1219,10 @@ function update_post_caches(&$posts) { function update_category_cache() { global $cache_categories, $wpdb; if($dogs = $wpdb->get_results("SELECT * FROM $wpdb->categories")): - foreach ($dogs as $catt) - $cache_categories[$catt->cat_ID] = $catt; + foreach ($dogs as $catt) + $cache_categories[$catt->cat_ID] = $catt; return true; - else: + else : return false; endif; } -- cgit