From 7640f490a88785a94f2606acc37381d19bdeda26 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 2 Jun 2004 18:46:04 +0000 Subject: - Patch #8244 by walkah: Taxonomy_get_tree changes break mt.getCategoryList --- modules/blogapi/blogapi.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/blogapi/blogapi.module') diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index 44c65307f..83f2c9494 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -263,7 +263,7 @@ function blogapi_get_category_list($req_params) { $categories = array(); if ($vocabularies) { foreach ($vocabularies as $vocabulary) { - $terms = module_invoke('taxonomy', 'get_tree', $vocabulary->vid, 0, -1, 'tid'); + $terms = module_invoke('taxonomy', 'get_tree', $vocabulary->vid, 0, -1); foreach ($terms as $term) { $term_name = $term->name; foreach (module_invoke('taxonomy', 'get_parents', $term->tid, 'tid') as $parent) { -- cgit v1.2.3