瀏覽代碼

Fix double forum for student see BT#12093

jmontoyaa 8 年之前
父節點
當前提交
c4877f7ecf
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      main/forum/index.php

+ 1 - 0
main/forum/index.php

@@ -346,6 +346,7 @@ if (is_array($forumCategories)) {
         if (!empty($forumsInCategory)) {
             // We display all the forums in this category.
             foreach ($forum_list as $forum) {
+                $html = '';
                 // Here we clean the whatnew_post_info array a little bit because to display the icon we
                 // test if $whatsnew_post_info[$forum['forum_id']] is empty or not.
                 if (isset($forum['forum_id'])) {