Skip to content

Commit

Permalink
Merge branch 'master_MDL-60253' of https://github.com/CengageEng/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed Nov 20, 2017
2 parents 1508fa2 + 18ae59b commit 4768fa3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mod/lti/locallib.php
Expand Up @@ -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;
Expand Down

0 comments on commit 4768fa3

Please sign in to comment.