MDL-23259 fixed fatal error, missing get_string()

This commit is contained in:
Petr Skoda 2010-07-14 07:33:42 +00:00
parent 476c0e82d3
commit d354ba0965

View File

@ -52,7 +52,7 @@ switch ($action) {
$fieldcount = $DB->count_records('user_info_field', array('categoryid'=>$id));
$optionsyes = array ('id'=>$id, 'confirm'=>1, 'action'=>'deletecategory', 'sesskey'=>sesskey());
echo $OUTPUT->header();
echo $OUTPUT->heading('profiledeletecategory', 'admin');
echo $OUTPUT->heading(get_string('profiledeletecategory', 'admin'));
$formcontinue = new single_button(new moodle_url($redirect, $optionsyes), get_string('yes'), 'post');
$formcancel = new single_button($redirect, get_string('no'), 'get');