diff --git a/mod/lti/locallib.php b/mod/lti/locallib.php index bc26ecdbd22..cc84853243a 100644 --- a/mod/lti/locallib.php +++ b/mod/lti/locallib.php @@ -1136,8 +1136,8 @@ function lti_get_launch_container($lti, $toolconfig) { } function lti_request_is_using_ssl() { - global $ME; - return (stripos($ME, 'https://') === 0); + global $FULLME; + return (stripos($FULLME, 'https://') === 0); } function lti_ensure_url_is_https($url) {