Skip to content

Commit

Permalink
Make sure aggregate flag is set in XAPI_PROXY session variable
Browse files Browse the repository at this point in the history
  • Loading branch information
torinfo committed Nov 8, 2021
1 parent 54c8a27 commit 6388a3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xapi_proxy.php
Expand Up @@ -233,6 +233,11 @@ function convertToCurl($headers)
if (is_array($_SESSION['XAPI_PROXY']))
{
$lrs = $_SESSION['XAPI_PROXY'];
if (!isset($lrs['aggregate']))
{
$lrs = CheckLearningLocker($lrs);
$_SESSION['XAPI_PROXY'] = $lrs;
}
}
else {
$template_id = $_SESSION['XAPI_PROXY'];
Expand Down

0 comments on commit 6388a3f

Please sign in to comment.