mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +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;
|
global $CFG;
|
||||||
|
|
||||||
$status = true;
|
$status = true;
|
||||||
|
$status2 = true;
|
||||||
|
|
||||||
//Get groups
|
//Get groups
|
||||||
$groups = get_records("groups","courseid",$preferences->backup_course);
|
$groups = get_records("groups","courseid",$preferences->backup_course);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue