mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-45764 mod_lti: Fix adding General Tool
This error only occurs when a ltisource plugin is present that implements the get_types callback.
This commit is contained in:
parent
8e478c99d3
commit
24fc6deec3
@ -207,7 +207,7 @@ function lti_get_types() {
|
||||
|
||||
$type = new stdClass();
|
||||
$type->modclass = MOD_CLASS_ACTIVITY;
|
||||
$type->type = 'lti';
|
||||
$type->type = '';
|
||||
$type->typestr = get_string('generaltool', 'mod_lti');
|
||||
$type->help = $help;
|
||||
$types[] = $type;
|
||||
|
Loading…
x
Reference in New Issue
Block a user