Skip to content

Commit

Permalink
MDL-31528 categories: Fixed up typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Mar 21, 2012
1 parent 727dac2 commit 7a3a0a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions course/category.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,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);
Expand Down Expand Up @@ -455,4 +455,4 @@

print_course_search();

echo $OUTPUT->footer();
echo $OUTPUT->footer();

0 comments on commit 7a3a0a3

Please sign in to comment.