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-05-29 10:59:43 -07:00
parent 8e478c99d3
commit 24fc6deec3

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;