From c34e4255e51506a754723d910969de71bce1f66f Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Tue, 9 Jan 2018 10:57:01 +1300 Subject: [PATCH] Correct list of groups for each session. --- classes/import/sessions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/import/sessions.php b/classes/import/sessions.php index 24ff0d2..f22495b 100644 --- a/classes/import/sessions.php +++ b/classes/import/sessions.php @@ -328,9 +328,9 @@ class sessions { // Count of sessions added. $okcount = 0; - $groupids = array(); foreach ($this->sessions as $session) { + $groupids = array(); // Check course shortname matches. if ($DB->record_exists('course', array( 'shortname' => $session->course