Skip to content

Commit

Permalink
Fix xAPI tracking of pedit_launch (session handling)
Browse files Browse the repository at this point in the history
  • Loading branch information
torinfo committed Aug 31, 2022
1 parent c506e09 commit 53699b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pedit_launch.php
Expand Up @@ -237,6 +237,9 @@ function decrypt($decrypt) {
$lrs = CheckLearningLocker($lrs);
$_SESSION['XAPI_PROXY'] = $lrs;

// Set studentid mode
$xerte_toolkits_site->xapi_user->studentidmode = $row['tsugi_xapi_student_id_mode'];

if ($_GET['x_embed'] === 'true') {
$x_embed = true;
if ($_GET['activated'] !== 'true') {
Expand Down

0 comments on commit 53699b0

Please sign in to comment.