From: Sam Hemelryk Date: Wed, 21 Mar 2012 20:45:45 +0000 (+1300) Subject: MDL-31528 categories: Fixed up typo X-Git-Tag: v2.3.0-beta~908 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=7a3a0a301b2cdfeb221275b79847c3bace4c9577 MDL-31528 categories: Fixed up typo --- diff --git a/course/category.php b/course/category.php index 64ebaaae368..6f4f57c59e9 100644 --- a/course/category.php +++ b/course/category.php @@ -275,8 +275,8 @@ foreach ($subcategories as $subcategory) { $attributes = $subcategory->visible ? array() : array('class' => 'dimmed'); $text = format_string($subcategory->name, true, array('context' => $context)); // Add the subcategory to the table - $url->param('id', $subcategory->id); - $table->data[] = array(html_writer::link($url, $text, $attributes)); + $baseurl->param('id', $subcategory->id); + $table->data[] = array(html_writer::link($baseurl, $text, $attributes)); } $subcategorieswereshown = (count($table->data) > 0); @@ -455,4 +455,4 @@ echo ''; print_course_search(); -echo $OUTPUT->footer(); \ No newline at end of file +echo $OUTPUT->footer();