Portfolio: Fix portfolios list in social network (void the course context to avoid showing only portfolios from one course)

pull/2688/head
Yannick Warnier 7 years ago
parent fd944a29fb
commit cd6e9dcac6
  1. 4
      main/portfolio/index.php

@ -8,6 +8,10 @@ use Chamilo\CoreBundle\Entity\PortfolioCategory;
use Chamilo\CoreBundle\Entity\Session;
use Chamilo\UserBundle\Entity\User;
// Make sure we void the course context if we are in the social network section
if (empty($_GET['cidReq'])) {
$cidReset = true;
}
require_once __DIR__.'/../inc/global.inc.php';
api_block_anonymous_users();

Loading…
Cancel
Save