mirror of
https://github.com/moodle/moodle.git
synced 2025-03-25 01:50:55 +01:00
Merge branch 'MDL-83670-main' of https://github.com/sammarshallou/moodle
This commit is contained in:
commit
6e6cd2a2f5
@ -72,7 +72,7 @@ class frontend extends \core_availability\frontend {
|
||||
require_once($CFG->libdir . '/grouplib.php');
|
||||
|
||||
if ($courseid != $this->allgroupscourseid) {
|
||||
$this->allgroups = groups_get_all_groups($courseid, 0, 0, 'g.id, g.name');
|
||||
$this->allgroups = groups_get_all_groups($courseid, 0, 0, 'g.id, g.name, g.visibility');
|
||||
$this->allgroupscourseid = $courseid;
|
||||
}
|
||||
return $this->allgroups;
|
||||
|
Loading…
x
Reference in New Issue
Block a user