From 9719412367f331094740acc71a09ea022225233d Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Tue, 20 Apr 2010 15:15:11 +0000 Subject: [PATCH 1/1] new string_manager identified coding problem - wrong get_string() params again - fixing --- course/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.43.0