diff --git a/docs/apis/subsystems/group/index.md b/docs/apis/subsystems/group/index.md index cc44a3c217..a073365b41 100644 --- a/docs/apis/subsystems/group/index.md +++ b/docs/apis/subsystems/group/index.md @@ -170,7 +170,7 @@ $sql = "SELECT g.idnumber, gm.* $params = [$courseid]; $context = context_course::instance($courseid); -if (!has_capability('moodle/course:viewhiddengroups', $context) { +if (!has_capability('moodle/course:viewhiddengroups', $context)) { // Apply visibility restrictions. [ $visibilitywhere,