Skip to content
Commit 0106777d authored by Frank Fischer's avatar Frank Fischer Committed by Laurent Montel
Browse files

Fix TemplateParser::getFirstNameFromEmail

The function now correctly returns the first name if the mail address has the form

* 'FirstName LastName' <foo@mail.xx>
* 'LastName, FirstName' <foo@mail.xx>
* foo@mail.xx

In the first two cases 'FirstName' should be returned, in the third case
the part before the '@' (i.e. 'foo' in this example).
parent c7e99643
Pipeline #400903 passed with stage
in 8 minutes and 52 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment