mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merge branch 'master_MDL-60253' of https://github.com/CengageEng/moodle
This commit is contained in:
commit
4768fa336a
@ -103,7 +103,12 @@ function lti_get_launch_data($instance) {
|
||||
if ($tool) {
|
||||
$typeid = $tool->id;
|
||||
} else {
|
||||
$typeid = null;
|
||||
$tool = lti_get_tool_by_url_match($instance->securetoolurl, $instance->course);
|
||||
if ($tool) {
|
||||
$typeid = $tool->id;
|
||||
} else {
|
||||
$typeid = null;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$typeid = $instance->typeid;
|
||||
|
Loading…
x
Reference in New Issue
Block a user