From 7a3a0a301b2cdfeb221275b79847c3bace4c9577 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Thu, 22 Mar 2012 09:45:45 +1300 Subject: [PATCH] MDL-31528 categories: Fixed up typo --- course/category.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); -- 2.43.0