mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merge branch 'MDL-61365-master' of git://github.com/sarjona/moodle
This commit is contained in:
commit
d300abab0e
@ -178,9 +178,8 @@ foreach ($filtersapplied as $filter) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// If course supports groups we may need to set a default.
|
||||
if ($groupid !== false) {
|
||||
if (!empty($groupid)) {
|
||||
if ($canaccessallgroups) {
|
||||
// User can access all groups, let them filter by whatever was selected.
|
||||
$filtersapplied[] = USER_FILTER_GROUP . ':' . $groupid;
|
||||
|
Loading…
x
Reference in New Issue
Block a user