Skip to content

Commit

Permalink
new string_manager identified coding problem - wrong get_string() par…
Browse files Browse the repository at this point in the history
…ams again - fixing
  • Loading branch information
skodak committed Apr 20, 2010
1 parent 5dbc920 commit 9719412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
require_capability('moodle/category:manage', $context);
require_capability('moodle/category:manage', get_category_or_system_context($deletecat->parent));

$heading = get_string('deletecategory', format_string($deletecat->name));
$heading = get_string('deletecategory', 'moodle', format_string($deletecat->name));
require_once('delete_category_form.php');
$mform = new delete_category_form(null, $deletecat);
$mform->set_data(array('delete'=>$delete));
Expand Down

0 comments on commit 9719412

Please sign in to comment.