summaryrefslogtreecommitdiff
path: root/modules/forum/forum.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-12-02 19:14:41 +0000
committerDries Buytaert <dries@buytaert.net>2002-12-02 19:14:41 +0000
commit5b39f6767e243e5b4340e1508a1ec4f8da456f86 (patch)
treec9f8540578c217cb01e2e50862e3895a3239ea93 /modules/forum/forum.module
parentab143d6870237fcf3294e954a57b14ea08a3848d (diff)
downloadbrdo-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/forum.module')
-rw-r--r--modules/forum/forum.module2
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()))) {