From 09b49acb67718b4c662a178d8d3147ff5a2fec6e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 8 Dec 2008 21:54:33 +0000 Subject: - Patch #343259 by John Morahan: improved taxonomy_get_tree API. --- modules/blogapi/blogapi.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/blogapi') diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index a947dbfec..1ad44a19d 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -499,7 +499,7 @@ function blogapi_metaweblog_get_category_list($blogid, $username, $password) { $categories = array(); if ($vocabularies) { foreach ($vocabularies as $vocabulary) { - $terms = module_invoke('taxonomy', 'get_tree', $vocabulary->vid, 0, -1); + $terms = module_invoke('taxonomy', 'get_tree', $vocabulary->vid); foreach ($terms as $term) { $term_name = $term->name; foreach (module_invoke('taxonomy', 'get_parents', $term->tid, 'tid') as $parent) { -- cgit v1.2.3