Skip to content
Browse files

MDL-31528 category: Fixed use of lang_string class

  • Loading branch information...
1 parent 89399cb commit 11c86239b796979b7528f27c3b07f645b5d60c44 @samhemelryk samhemelryk committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 course/category.php
View
4 course/category.php
@@ -262,7 +262,7 @@
// Prepare a table to display the sub categories.
$table = new html_table;
$table->attributes = array('border' => '0', 'cellspacing' => '2', 'cellpadding' => '4', 'class' => 'generalbox boxaligncenter category_subcategories');
-$table->head = array(new lang_string('subcategories'));
+$table->head = array(get_string('subcategories'));
$table->data = array();
$baseurl = new moodle_url('/course/category.php');
foreach ($subcategories as $subcategory) {
@@ -453,4 +453,4 @@
print_course_search();
-echo $OUTPUT->footer();
+echo $OUTPUT->footer();

0 comments on commit 11c8623

Please sign in to comment.
Something went wrong with that request. Please try again.