@ -1181,8 +1181,8 @@ class CourseHome
$toolName = api_underscore_to_camel_case($toolName);
if (isset($GLOBALS['Tool'.$toolName])) {
return get_lang('Tool'.$toolName);
if ('plugin' !== $tool['category'] && isset($GLOBALS['Tool' . $toolName])) {
return get_lang('Tool' . $toolName);
}
return $toolName;
@ -964,6 +964,7 @@ class Plugin
->findOneBy([
'name' => $name,
'cId' => $courseId,
'category' => 'plugin',
]);
if (!$tool) {