From 83c5e8f6b108cfd3a45de04aa4998c425296423d Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sun, 29 May 2005 17:32:18 +0000 Subject: [PATCH] format_string() applied once deleting courses... Merged from HEAD --- lib/moodlelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/moodlelib.php b/lib/moodlelib.php index b7e1c68a52d..adb9aeaaf52 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -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; } }