diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-06-02 18:46:04 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-06-02 18:46:04 +0000 |
commit | 7640f490a88785a94f2606acc37381d19bdeda26 (patch) | |
tree | e4386f46da18106781f2756649df68d597a983e0 | |
parent | c3463a22aef32680108e835367247cd5e04d214e (diff) | |
download | brdo-7640f490a88785a94f2606acc37381d19bdeda26.tar.gz brdo-7640f490a88785a94f2606acc37381d19bdeda26.tar.bz2 |
- Patch #8244 by walkah: Taxonomy_get_tree changes break mt.getCategoryList
-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) { |