From: Petr Skoda Date: Tue, 20 Apr 2010 15:15:11 +0000 (+0000) Subject: new string_manager identified coding problem - wrong get_string() params again -... X-Git-Tag: v2.0.0-rc1~4145 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=9719412367f331094740acc71a09ea022225233d;hp=5dbc920842e4be3b09c3da7800a130580b087646;ds=sidebyside new string_manager identified coding problem - wrong get_string() params again - fixing --- diff --git a/course/index.php b/course/index.php index 9ccccf0ac62..7646d3db889 100644 --- a/course/index.php +++ b/course/index.php @@ -124,7 +124,7 @@ if (!empty($delete) and confirm_sesskey()) { 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));