From e071099001fdc6b5a257e049d7ac77b15e59656e Mon Sep 17 00:00:00 2001 From: poltawski Date: Wed, 28 Feb 2007 16:30:41 +0000 Subject: [PATCH] Merging fixes to MDL-8582 from MOODLE_18_STABLE --- course/import/activities/mod.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/course/import/activities/mod.php b/course/import/activities/mod.php index 1f587c3289..9debf7f37d 100644 --- a/course/import/activities/mod.php +++ b/course/import/activities/mod.php @@ -43,7 +43,7 @@ $options = array(); foreach ($taught_courses as $tcourse) { if ($tcourse->id != $course->id && $tcourse->id != SITEID){ - $options[$tcourse->id] = $tcourse->fullname; + $options[$tcourse->id] = format_string($tcourse->fullname); } } @@ -63,7 +63,7 @@ foreach ($cat_courses as $ccourse) { if ($ccourse->id != $course->id && $ccourse->id != SITEID) { - $options[$ccourse->id] = $ccourse->fullname; + $options[$ccourse->id] = format_string($ccourse->fullname); } } $cat = get_record("course_categories","id",$course->category); @@ -85,7 +85,7 @@ $table->data[] = array(''.get_string('searchresults').'','',''); foreach ($courses as $scourse) { if ($course->id != $scourse->id) { - $table->data[] = array('',$scourse->fullname, + $table->data[] = array('',format_string($scourse->fullname), ''.get_string('usethiscourse').''); } } @@ -97,4 +97,4 @@ if (!empty($table)) { print_table($table); } -?> \ No newline at end of file +?> -- 2.39.5