format_string() applied once deleting courses...
Merged from HEAD
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user