diff --git a/lib.php b/lib.php index a30d97710a19cbf78b0431260eb2c22e0edbb1fc..191d7954d5767b9cb5c9629b3bf6a1d3806ef840 100644 --- a/lib.php +++ b/lib.php @@ -378,13 +378,13 @@ class course_request_hsh { $this->delete(); $a = new stdClass(); - $a->coursename = utf8_encode(format_string($course->fullname, true, array('context' => context_course::instance($course->id)))); + $a->coursename = format_string($course->fullname, true, array('context' => context_course::instance($course->id))); $a->url = $CFG->wwwroot . '/course/view.php?id=' . $course->id; $a->responser = $USER->firstname . ' ' . $USER->lastname; $a->email = $USER->email; $a->telefon = $USER->phone1; - $a->fullname = utf8_encode($user->firstname . ' ' . $user->lastname); + $a->fullname = $user->firstname . ' ' . $user->lastname; $mailmessage = get_string('courseapprovedemail1', 'local_hsh', $a); if (strpos($this->properties->reason, "Daten?bernahme von:") !== false) { $mailmessage .= get_string('coursecopyinform', 'local_hsh', $a);