diff --git a/main/forum/viewforumcategory.php b/main/forum/viewforumcategory.php index 5bfbad667f..fadb9ba272 100755 --- a/main/forum/viewforumcategory.php +++ b/main/forum/viewforumcategory.php @@ -2,6 +2,7 @@ /* For licensing terms, see /license.txt */ use Chamilo\CourseBundle\Entity\CForumPost; +use ChamiloSession as Session; /** * These files are a complete rework of the forum. The database structure is @@ -26,6 +27,8 @@ use Chamilo\CourseBundle\Entity\CForumPost; require_once __DIR__.'/../inc/global.inc.php'; +Session::erase('_gid'); + $htmlHeadXtra[] = '