new string_manager identified coding problem - wrong get_string() params again -...
authorPetr Skoda <skodak@moodle.org>
Tue, 20 Apr 2010 15:15:11 +0000 (15:15 +0000)
committerPetr Skoda <skodak@moodle.org>
Tue, 20 Apr 2010 15:15:11 +0000 (15:15 +0000)
course/index.php

index 9ccccf0..7646d3d 100644 (file)
@@ -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));