From 5b39f6767e243e5b4340e1508a1ec4f8da456f86 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 2 Dec 2002 19:14:41 +0000 Subject: * 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. --- modules/forum.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/forum.module') diff --git a/modules/forum.module b/modules/forum.module index 8e84492bc..e7a250a68 100644 --- a/modules/forum.module +++ b/modules/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()))) { -- cgit v1.2.3