format_string() applied one deleting courses...

This commit is contained in:
stronk7 2005-05-29 17:27:00 +00:00
parent 94a4301982
commit 7eec33905f

View File

@ -2735,7 +2735,7 @@ function remove_course_contents($courseid, $showfeedback=true) {
if ($moddelete($instance->id)) {
$count++;
} else {
notify('Could not delete '. $modname .' instance '. $instance->id .' ('. $instance->name .')');
notify('Could not delete '. $modname .' instance '. $instance->id .' ('. format_string($instance->name) .')');
$result = false;
}
}