|
|
|
@ -67,7 +67,7 @@ if (isset($_GET['action'])) { |
|
|
|
|
$interbreadcrumb[] = array('url' => 'group.php?'.api_get_cidreq(), 'name' => get_lang('Groups')); |
|
|
|
|
if (!isset ($_GET['origin']) || $_GET['origin'] != 'learnpath') { |
|
|
|
|
// So we are not in learnpath tool |
|
|
|
|
if (!$is_allowed_in_course) { |
|
|
|
|
if (!api_is_allowed_in_course()) { |
|
|
|
|
api_not_allowed(true); |
|
|
|
|
} |
|
|
|
|
if (!api_is_allowed_to_edit(false, true)) { |
|
|
|
|