|
|
@ -1181,8 +1181,8 @@ class CourseHome |
|
|
|
|
|
|
|
|
|
|
|
$toolName = api_underscore_to_camel_case($toolName); |
|
|
|
$toolName = api_underscore_to_camel_case($toolName); |
|
|
|
|
|
|
|
|
|
|
|
if (isset($GLOBALS['Tool'.$toolName])) { |
|
|
|
if ('plugin' !== $tool['category'] && isset($GLOBALS['Tool' . $toolName])) { |
|
|
|
return get_lang('Tool'.$toolName); |
|
|
|
return get_lang('Tool' . $toolName); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return $toolName; |
|
|
|
return $toolName; |
|
|
|