diff options
-rw-r--r-- | modules/blogapi.module | 2 | ||||
-rw-r--r-- | modules/blogapi/blogapi.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/blogapi.module b/modules/blogapi.module index 44c65307f..83f2c9494 100644 --- a/modules/blogapi.module +++ b/modules/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) { 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) { |