diff --git a/mod/resource/locallib.php b/mod/resource/locallib.php index b6b4464009d..a94a0b6c86b 100644 --- a/mod/resource/locallib.php +++ b/mod/resource/locallib.php @@ -137,7 +137,7 @@ function resource_display_frame($resource, $cm, $course, $file) { $navurl = "$CFG->wwwroot/mod/resource/view.php?id=$cm->id&frameset=top"; $title = strip_tags(format_string($course->shortname.': '.$resource->name)); $framesize = $config->framesize; - $contentframetitle = format_string($resource->name); + $contentframetitle = s(format_string($resource->name)); $modulename = s(get_string('modulename','resource')); $dir = get_string('thisdirection', 'langconfig');