Browse Source

Fixes #349 - Fixed calendarevent for imports

MOODLE_36_STABLE
maksudr 6 years ago
parent
commit
d1838d0b05
  1. 6
      classes/import/sessions.php

6
classes/import/sessions.php

@ -340,6 +340,12 @@ class sessions {
$session->preventsharediptime = $this->get_column_data($row, $mapping['preventsharediptime']);
}
if ($mapping['calendarevent'] == -1) {
$session->calendarevent = $pluginconfig->calendarevent_default;
} else {
$session->calendarevent = $this->get_column_data($row, $mapping['calendarevent']);
}
if ($mapping['includeqrcode'] == -1) {
$session->includeqrcode = $pluginconfig->includeqrcode_default;
} else {

Loading…
Cancel
Save