Skip to content

Commit

Permalink
Fixes #703
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Feb 19, 2025
1 parent b020249 commit f978a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myconext-server/src/main/java/myconext/mail/MailBox.java
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public void sendErrorMail(Map<String, Object> json, User user) {
private Map<String, Object> variables(User user, String title) {
Map<String, Object> variables = new HashMap<>();
variables.put("title", title);
String fullName = user.getGivenName() + " " + user.getFamilyName();
String fullName = user.getDerivedGivenName() + " " + user.getDerivedFamilyName();
String fullNameSanitized = fullName.replaceAll(SANITIZE_NAME, "");
variables.put("name", fullNameSanitized);
return variables;
Expand Down

0 comments on commit f978a0a

Please sign in to comment.