From 2aae0af5d72037f25ff882cca7fa33c465473117 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 9 Oct 2004 17:15:55 +0000 Subject: - Patch #11426: the forum module generated an empty table for forums with no child forums. --- modules/forum.module | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/forum.module') diff --git a/modules/forum.module b/modules/forum.module index 5052ec775..ffc099fff 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -613,9 +613,11 @@ function theme_forum_list($forums, $parents, $tid) { array('data' => _forum_format($forum->last_post), 'class' => 'last-reply')); } } + + return theme('table', $header, $rows); + } - return theme('table', $header, $rows); } /** -- cgit v1.2.3