mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
FIxed tiniest bug when trying to backup groups in courses that have none
This commit is contained in:
parent
fd6c9e1d3a
commit
ece42d55fc
1 changed files with 2 additions and 1 deletions
|
@ -948,6 +948,7 @@
|
|||
global $CFG;
|
||||
|
||||
$status = true;
|
||||
$status2 = true;
|
||||
|
||||
//Get groups
|
||||
$groups = get_records("groups","courseid",$preferences->backup_course);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue