MDL-36824 Lesson: Media File should be displayed as a block
authorStephen Bourget <sbourget@goffstown.k12.nh.us>
Fri, 9 Jan 2015 23:15:27 +0000 (18:15 -0500)
committerStephen Bourget <sbourget@goffstown.k12.nh.us>
Fri, 9 Jan 2015 23:15:27 +0000 (18:15 -0500)
mod/lesson/locallib.php

index db26f7f..490a027 100644 (file)
@@ -466,7 +466,7 @@ function lesson_mediafile_block_contents($cmid, $lesson) {
 
     $bc = new block_contents();
     $bc->title = get_string('linkedmedia', 'lesson');
-    $bc->attributes['class'] = 'mediafile';
+    $bc->attributes['class'] = 'mediafile block';
     $bc->content = $content;
 
     return $bc;