X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fedit_attendee.sh;h=fe33c18e33ee2d26f414600a24bf9021f4880e2a;hp=f2acb9f6a7f0b84678545bb18a9a7494bd01feb6;hb=9917259ba7ae33000a3aeb892f392ed71ad0377d;hpb=15f8fb79643d8e76e836b673ea339cb805b3e3fc
diff --git a/templates/edit_attendee.sh b/templates/edit_attendee.sh
index f2acb9f..fe33c18 100755
--- a/templates/edit_attendee.sh
+++ b/templates/edit_attendee.sh
@@ -11,12 +11,15 @@ edit_card_item() {
;|
*)
echo ""
+ echo ""
;;
esac
}
edit_attendee() {
cardfile="$1"
+ tempfile="temp/$_GET[\"edit\"].vcf"
+ [ -x "$tempfile" ] && cardfile="$tempfile"
unset key
vcf_parse "$cardfile" |while read -r line; do
declare -A tag