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:
Mark Nielsen
2014-06-04 08:10:19 -07:00
parent d73b1f3e71
commit ebfbd63b3c
+1 -1
View File
@@ -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;