Fixed a notice on PHP5

This commit is contained in:
moodler 2004-08-07 13:44:25 +00:00
parent 51a96819cc
commit 04a72b882a

View File

@ -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'));