mirror of
https://github.com/moodle/moodle.git
synced 2025-06-03 14:46:35 +02:00
MDL-23259 fixed fatal error, missing get_string()
This commit is contained in:
parent
476c0e82d3
commit
d354ba0965
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user