Skip to content

Commit

Permalink
MDL-11543 format_string(parent category name)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Oct 10, 2007
1 parent 9c536df commit 2c23af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/editcategory_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function definition() {
$categories = get_categories();
$options = array(get_string('top'));
foreach ($categories as $catid => $cat) {
$options[$catid] = $cat->name;
$options[$catid] = format_string($cat->name);
}

$mform->addElement('select', 'parent', get_string('parentcategory'), $options);
Expand Down

0 comments on commit 2c23af9

Please sign in to comment.