MDL-30879 Course page: missing space after class for new 'description on course page...
authorsam marshall <s.marshall@open.ac.uk>
Thu, 22 Dec 2011 18:12:11 +0000 (18:12 +0000)
committersam marshall <s.marshall@open.ac.uk>
Tue, 3 Jan 2012 12:40:09 +0000 (12:40 +0000)
course/lib.php

index d043a74..c186422 100644 (file)
@@ -1606,8 +1606,8 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false,
 
                     // If specified, display extra content after link
                     if ($content) {
-                        $contentpart = '<div class="contentafterlink' .
-                                trim($textclasses) . '">' . $content . '</div>';
+                        $contentpart = '<div class="' . trim('contentafterlink' . $textclasses) .
+                                '">' . $content . '</div>';
                     }
                 } else {
                     // No link, so display only content