mirror of
https://github.com/moodle/moodle.git
synced 2025-04-08 01:43:32 +02:00
Merge branch 'wip-MDL-47796-master' of git://github.com/abgreeve/moodle
This commit is contained in:
commit
3c459b6300
@ -331,8 +331,9 @@
|
||||
|
||||
echo $OUTPUT->header();
|
||||
|
||||
/// Check to see if groups are being used here
|
||||
$currentgroup = groups_get_activity_group($cm);
|
||||
// Check to see if groups are being used here.
|
||||
// We need the most up to date current group value. Make sure it is updated at this point.
|
||||
$currentgroup = groups_get_activity_group($cm, true);
|
||||
$groupmode = groups_get_activity_groupmode($cm);
|
||||
$canmanageentries = has_capability('mod/data:manageentries', $context);
|
||||
// If a student is not part of a group and seperate groups is enabled, we don't
|
||||
|
Loading…
x
Reference in New Issue
Block a user