Browse Source

Minor changes

Daniel Barreto 11 years ago
parent
commit
b6c5722488
1 changed files with 1 additions and 2 deletions
  1. 1 2
      main/forum/forumfunction.inc.php

+ 1 - 2
main/forum/forumfunction.inc.php

@@ -65,16 +65,15 @@ function handle_forum_and_forumcategories($lp_id = null)
     $forum_categories_list = get_forum_categories();
 
     // Verify if exist content and action
-
     if ((($action_forum_cat == '' || $get_content == '') && !$post_submit_cat) && !$post_submit_forum) {
         return null;
     }
 
+    //Verify if forum category exists
     if (empty($forum_categories_list)) {
         $get_content = 'forumcategory';
     }
 
-
     // Adding a forum category
     if (($action_forum_cat == 'add' && $get_content == 'forumcategory') || $post_submit_cat) {
         show_add_forumcategory_form(array(), $lp_id); //$lp_id when is called from learning path