diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-12-02 19:14:41 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-12-02 19:14:41 +0000 |
commit | 5b39f6767e243e5b4340e1508a1ec4f8da456f86 (patch) | |
tree | c9f8540578c217cb01e2e50862e3895a3239ea93 /modules/forum | |
parent | ab143d6870237fcf3294e954a57b14ea08a3848d (diff) | |
download | brdo-5b39f6767e243e5b4340e1508a1ec4f8da456f86.tar.gz brdo-5b39f6767e243e5b4340e1508a1ec4f8da456f86.tar.bz2 |
* Applied slightly modified version of Marco's taxonomy patch:
- Fixed a bug with get_tree and multiple parents.
- Fixed 3 wrong caches (this will avoid some queries).
- Extension to taxonomy_term_count_nodes() (feature #159): "currently
calling taxonomy_term_count_nodes() returns the amount of nodes in each
term, would it be possible to extend this function so that it would only
return the amount of nodes of a certain type under each term.
- Confirm deleting a vocabulary or a term (requested by Moshe).
- Use form_weight() in vocabulary and term forms.
- After submitting a term, we end up at the term page (requested by Moshe).
- Added status messages when adding, editing and deleting vocabularies and
terms
- Minor clean ups
* Made sure all modules use the same link delimiter; "|" for now.
Diffstat (limited to 'modules/forum')
-rw-r--r-- | modules/forum/forum.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 8e84492bc..e7a250a68 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -323,7 +323,7 @@ function forum_get_forums($tid = 0) { if (!$forums) { $forums = array(); - taxonomy_get_tree(variable_get("forum_nav_vocabulary", ""), $_forums, $tid); + $_forums = taxonomy_get_tree(variable_get("forum_nav_vocabulary", ""), $tid); $n = 0; foreach ($_forums as $forum) { if (in_array($forum->tid, variable_get("forum_containers", array()))) { |