FIxed tiniest bug when trying to backup groups in courses that have none

This commit is contained in:
moodler 2004-01-26 17:46:19 +00:00
parent fd6c9e1d3a
commit ece42d55fc

View file

@ -946,8 +946,9 @@
function backup_groups_info($bf,$preferences) {
global $CFG;
$status = true;
$status2 = true;
//Get groups
$groups = get_records("groups","courseid",$preferences->backup_course);