From ebfbd63b3c4b99ad8bb36dd823df89ac89240d55 Mon Sep 17 00:00:00 2001 From: Mark Nielsen Date: Thu, 29 May 2014 10:59:43 -0700 Subject: [PATCH] MDL-45764 mod_lti: Fix adding General Tool This error only occurs when a ltisource plugin is present that implements the get_types callback. --- mod/lti/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/lti/lib.php b/mod/lti/lib.php index 8903475fd52..bce5e90a98a 100644 --- a/mod/lti/lib.php +++ b/mod/lti/lib.php @@ -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;