mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Fixed a notice on PHP5
This commit is contained in:
parent
51a96819cc
commit
04a72b882a
@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
$groups = get_groups($course->id);
|
$groups = get_groups($course->id);
|
||||||
|
|
||||||
if (!$USER->groupsediting) { /// Display an overview of all groups
|
if (empty($USER->groupsediting)) { /// Display an overview of all groups
|
||||||
if (!$groups) {
|
if (!$groups) {
|
||||||
print_heading(get_string('groupsnone'));
|
print_heading(get_string('groupsnone'));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user