diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-10-09 17:15:55 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-10-09 17:15:55 +0000 |
commit | 2aae0af5d72037f25ff882cca7fa33c465473117 (patch) | |
tree | 2bdfe8b578729797ed78cb10c7f26783432d2a16 /modules/forum.module | |
parent | ec9b0b06a8ae6d5405587febddbf5d90c97d6fb4 (diff) | |
download | brdo-2aae0af5d72037f25ff882cca7fa33c465473117.tar.gz brdo-2aae0af5d72037f25ff882cca7fa33c465473117.tar.bz2 |
- Patch #11426: the forum module generated an empty table for forums with no child forums.
Diffstat (limited to 'modules/forum.module')
-rw-r--r-- | modules/forum.module | 4 |
1 files changed, 3 insertions, 1 deletions
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); } /** |