Skip to content

Commit

Permalink
Merge branch 'MDL-56573-master' of git://github.com/junpataleta/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Oct 31, 2016
2 parents 09a05b7 + 59eb636 commit c86fb21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enrol/lti/tool.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
$consumer->ltiVersion = \IMSGlobal\LTI\ToolProvider\ToolProvider::LTI_VERSION1;
// For LTIv1, set the tool secret as the consumer secret.
$consumer->secret = $tool->secret;
$consumer->name = optional_param('tool_consumer_instance_name', null, PARAM_TEXT);
$consumer->name = optional_param('tool_consumer_instance_name', '', PARAM_TEXT);
$consumer->consumerName = $consumer->name;
$consumer->consumerGuid = optional_param('tool_consumer_instance_guid', null, PARAM_TEXT);
$consumer->consumerVersion = optional_param('tool_consumer_info_version', null, PARAM_TEXT);
Expand Down

0 comments on commit c86fb21

Please sign in to comment.