Merge branch 'MDL-83670-m404' of https://github.com/sammarshallou/moodle into MOODLE_404_STABLE

This commit is contained in:
Huong Nguyen
2024-12-02 10:31:06 +07:00
@@ -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;