diff --git a/classes/import/sessions.php b/classes/import/sessions.php index f336a24..6a148fd 100644 --- a/classes/import/sessions.php +++ b/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 {