Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-31528 categories: Fixed up typo

  • Loading branch information...
commit 366d7c0aba5f85aa172f81ea685acdc0aa740222 1 parent 11c8623
@samhemelryk samhemelryk authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 course/category.php
View
4 course/category.php
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.