mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-8268 fixed block get_string, patch by Mark Nielsen
This commit is contained in:
parent
e2b84345ea
commit
6db71242fd
1 changed files with 1 additions and 1 deletions
|
@ -3092,7 +3092,7 @@ function get_component_string($component, $contextlevel) {
|
|||
break;
|
||||
|
||||
case CONTEXT_BLOCK:
|
||||
$string = get_string('blockname', 'block_'.$component.'.php');
|
||||
$string = get_string('blockname', 'block_'.basename($component));
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue