MDL-29719 Category page typo fix
authorsam marshall <s.marshall@open.ac.uk>
Tue, 18 Oct 2011 09:40:07 +0000 (10:40 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 18 Oct 2011 09:43:01 +0000 (11:43 +0200)
course/category.php

index 0fb8ac5..27f4653 100644 (file)
 
             $linkcss = $acourse->visible ? '' : ' class="dimmed" ';
             echo '<tr>';
-            $coursename = get_course_display_name_for_list($course);
+            $coursename = get_course_display_name_for_list($acourse);
             echo '<td><a '.$linkcss.' href="view.php?id='.$acourse->id.'">'. format_string($coursename) .'</a></td>';
             if ($editingon) {
                 echo '<td>';