MDL-38252 - course: fix typo

This commit is contained in:
Dan Poltawski 2013-02-28 11:04:30 +08:00
parent 1dd6835d8c
commit b22b74035c

View File

@ -120,7 +120,7 @@ if (!empty($deletecat) and confirm_sesskey()) {
echo $OUTPUT->notification(get_string('coursedeleted', '', $course->shortname), 'notifysuccess');
}
$cattodeletename = format_string($cattodelete->name, true, array('context' => $context));
echo $OUTPUT->notification(get_string('coursecategorydeleted', '', $catetodeletename), 'notifysuccess');
echo $OUTPUT->notification(get_string('coursecategorydeleted', '', $cattodeletename), 'notifysuccess');
} else {
category_delete_move($cattodelete, $data->newparent, true);