Skip to content

Commit

Permalink
Prevent error in PHP log
Browse files Browse the repository at this point in the history
  • Loading branch information
torinfo committed Aug 28, 2023
1 parent ff9c9d6 commit 9e163b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lti_launch.php
Expand Up @@ -183,7 +183,7 @@
$_SESSION['XAPI_PROXY'] = $lrs;
}

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

0 comments on commit 9e163b2

Please sign in to comment.