Browse Source

Correct list of groups for each session.

MOODLE_35_STABLE
Dan Marsden 7 years ago
parent
commit
c34e4255e5
  1. 2
      classes/import/sessions.php

2
classes/import/sessions.php

@ -328,9 +328,9 @@ class sessions {
// Count of sessions added. // Count of sessions added.
$okcount = 0; $okcount = 0;
$groupids = array();
foreach ($this->sessions as $session) { foreach ($this->sessions as $session) {
$groupids = array();
// Check course shortname matches. // Check course shortname matches.
if ($DB->record_exists('course', array( if ($DB->record_exists('course', array(
'shortname' => $session->course 'shortname' => $session->course

Loading…
Cancel
Save