mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 20:06:46 +02:00
Merge branch 'MDL-36424-35' of https://github.com/lucaboesch/moodle into MOODLE_35_STABLE
This commit is contained in:
commit
f55516fd46
1 changed files with 4 additions and 0 deletions
|
@ -177,6 +177,10 @@ if ($id) {
|
|||
|
||||
$groupmode = groups_get_activity_groupmode($cm);
|
||||
|
||||
// This is where people will land when they change groups using the drop-down selector.
|
||||
// Set the activity group so tabs and content are shown correctly.
|
||||
$currentgroup = groups_get_activity_group($cm, true);
|
||||
|
||||
if ($wiki->wikimode == 'individual' && ($groupmode == SEPARATEGROUPS || $groupmode == VISIBLEGROUPS)) {
|
||||
list($gid, $uid) = explode('-', $groupanduser);
|
||||
} else if ($wiki->wikimode == 'individual') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue