]> git.plutz.net Git - confetti/blobdiff - actions/update_attendee.sh
allowed editing of full name
[confetti] / actions / update_attendee.sh
index 10eb82c419b7716856c7c121b9d7ba7a4998cdb1..6f46cb2034eaeda33c967523fcb59fde5d1126a6 100644 (file)
@@ -8,6 +8,7 @@ cardfile="vcard/$card"
 
 echo "BEGIN:VCARD\r" >"$tempfile"
 echo "VERSION:4.0\r" >>"$tempfile"
+echo "N:$_POST[\"0N\"];$_POST[\"1N\"];$_POST[\"2N\"];$_POST[\"3N\"];$_POST[\"4N\"]\r" >>"$tempfile"
 for field in $VCF_FIELDS; do
   value="$_POST[\"$field\"]"
   n=0