Browse Source

Fix double forum for student see BT#12093

jmontoyaa 8 năm trước cách đây
mục cha
commit
c4877f7ecf
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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'])) {