Procházet zdrojové kódy

Fix double forum for student see BT#12093

jmontoyaa před 8 roky
rodič
revize
c4877f7ecf
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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'])) {