Permalink
Browse files

MDL-31528 categories: Fixed up typo

  • Loading branch information...
1 parent 11c8623 commit 366d7c0aba5f85aa172f81ea685acdc0aa740222 Sam Hemelryk committed Mar 21, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 course/category.php
View
@@ -273,8 +273,8 @@
$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);

0 comments on commit 366d7c0

Please sign in to comment.