Skip to content
Snippets Groups Projects
Commit b3e22c66 authored by srosse's avatar srosse
Browse files

OO-3834: add real name to the contact form of the coaching tool

parent 18ff82ae
No related branches found
No related tags found
No related merge requests found
......@@ -377,7 +377,8 @@ public class StudentCoursesController extends FormBasicController implements Act
removeAsListenerAndDispose(cmc);
ContactMessage cmsg = new ContactMessage(getIdentity());
ContactList contactList = new ContactList("to");
String fullName = userManager.getUserDisplayName(student);
ContactList contactList = new ContactList(fullName);
contactList.add(student);
cmsg.addEmailTo(contactList);
contactCtrl = new ContactFormController(ureq, getWindowControl(), true, false, false, cmsg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment