diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-12-09 18:57:05 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-12-09 18:57:05 +0000 |
commit | 62aa06872c8db00173e9fa9586f3dbd07aa102cb (patch) | |
tree | cd1462cc527fea97c964a4a520a9d07529a4705e /modules | |
parent | 82233fc076533a514bdd297f618b76de5664e762 (diff) | |
download | brdo-62aa06872c8db00173e9fa9586f3dbd07aa102cb.tar.gz brdo-62aa06872c8db00173e9fa9586f3dbd07aa102cb.tar.bz2 |
- Bugfix: don't show any links in case of a container. Patch by Bart.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/forum.module | 2 | ||||
-rw-r--r-- | modules/forum/forum.module | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/modules/forum.module b/modules/forum.module index d2bbbdc54..b227d3a5a 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -539,6 +539,8 @@ function theme_forum_list($forums, $parents, $tid) { $forum->num_topics = ""; $forum->num_posts = ""; $forum->last_post = ""; + $new_topics = 0; + $links = array(); } else { if ($user->uid) { diff --git a/modules/forum/forum.module b/modules/forum/forum.module index d2bbbdc54..b227d3a5a 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -539,6 +539,8 @@ function theme_forum_list($forums, $parents, $tid) { $forum->num_topics = ""; $forum->num_posts = ""; $forum->last_post = ""; + $new_topics = 0; + $links = array(); } else { if ($user->uid) { |