MDL-30275 Assignment activity description not displayed on course page
authorsam marshall <s.marshall@open.ac.uk>
Tue, 15 Nov 2011 15:24:08 +0000 (15:24 +0000)
committersam marshall <s.marshall@open.ac.uk>
Tue, 15 Nov 2011 15:24:08 +0000 (15:24 +0000)
mod/assignment/lib.php

index 5d4d5fb..0be90a6 100644 (file)
@@ -3540,7 +3540,7 @@ function assignment_get_coursemodule_info($coursemodule) {
         }
         if ($coursemodule->showdescription) {
             // Convert intro to html. Do not filter cached version, filters run at display time.
-            $info->content = format_module_intro('assignment', $assignment, $coursemodule->id, false);
+            $result->content = format_module_intro('assignment', $assignment, $coursemodule->id, false);
         }
         return $result;
     } else {