Commit dd51ad86 authored by JC Brand's avatar JC Brand

Bugfix. Nickname wasn't being set correctly in vcard

parent dd5f6f10
...@@ -112,6 +112,7 @@ ...@@ -112,6 +112,7 @@
const data = { const data = {
'fn': form_data.get('fn'), 'fn': form_data.get('fn'),
'nickname': form_data.get('nickname'),
'role': form_data.get('role'), 'role': form_data.get('role'),
'email': form_data.get('email'), 'email': form_data.get('email'),
'url': form_data.get('url'), 'url': form_data.get('url'),
......
<vCard xmlns="vcard-temp"> <vCard xmlns="vcard-temp">
<FN>{{{o.fn}}}</FN> <FN>{{{o.fn}}}</FN>
<NICKNAME>{{{o.fn}}}</NICKNAME> <NICKNAME>{{{o.nickname}}}</NICKNAME>
<URL>{{{o.url}}}</URL> <URL>{{{o.url}}}</URL>
<ROLE>{{{o.role}}}</ROLE> <ROLE>{{{o.role}}}</ROLE>
<EMAIL><INTERNET/><PREF/><USERID>{{{o.email}}}</USERID></EMAIL> <EMAIL><INTERNET/><PREF/><USERID>{{{o.email}}}</USERID></EMAIL>
......
Markdown is supported
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