mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-51969 mod_lti: Fixed missing tool proxy GUID
This commit is contained in:
parent
129783b98c
commit
f9ec2496f8
@ -304,7 +304,7 @@ abstract class resource_base {
|
||||
|
||||
if (empty($this->params)) {
|
||||
$this->params = array();
|
||||
if (isset($_SERVER['PATH_INFO'])) {
|
||||
if (isset($_SERVER['PATH_INFO']) && !empty($_SERVER['PATH_INFO'])) {
|
||||
$path = explode('/', $_SERVER['PATH_INFO']);
|
||||
$parts = explode('/', $this->get_template());
|
||||
for ($i = 0; $i < count($parts); $i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user