From 9e163b2f662d3de0e74730c08f1d2142435d6571 Mon Sep 17 00:00:00 2001 From: Tom Reijnders Date: Mon, 28 Aug 2023 18:51:29 +0200 Subject: [PATCH] Prevent error in PHP log --- lti_launch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lti_launch.php b/lti_launch.php index 1eb288839..090f7d9e8 100644 --- a/lti_launch.php +++ b/lti_launch.php @@ -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;