MDL-8268 fixed block get_string, patch by Mark Nielsen

This commit is contained in:
skodak 2007-02-14 23:00:20 +00:00
parent e2b84345ea
commit 6db71242fd

View file

@ -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: