diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-12-08 21:54:33 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-12-08 21:54:33 +0000 |
commit | 09b49acb67718b4c662a178d8d3147ff5a2fec6e (patch) | |
tree | d4c7f540a1636727c0efee477dacbad13b24d6dc /modules/blogapi | |
parent | 55382d04a7438210bef7252dec960b3e8a00c263 (diff) | |
download | brdo-09b49acb67718b4c662a178d8d3147ff5a2fec6e.tar.gz brdo-09b49acb67718b4c662a178d8d3147ff5a2fec6e.tar.bz2 |
- Patch #343259 by John Morahan: improved taxonomy_get_tree API.
Diffstat (limited to 'modules/blogapi')
-rw-r--r-- | modules/blogapi/blogapi.module | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |