From: web Date: Sat, 28 Apr 2007 13:29:44 +0000 (+0000) Subject: Fix photo in vcard (this bug only occurs on djali) X-Git-Tag: xorg/0.9.14~43 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=bf72dfdc218b179f1a6c343c97871e09715f40c7;p=platal.git Fix photo in vcard (this bug only occurs on djali) git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.14@1751 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/templates/core/vcard.tpl b/templates/core/vcard.tpl index 7fbcbe9..bbcc461 100644 --- a/templates/core/vcard.tpl +++ b/templates/core/vcard.tpl @@ -87,7 +87,7 @@ X-BINETS:{$vcard.binets_vcardjoin} X-GROUPS:{$vcard.gpxs_vcardjoin} {/if} {if $vcard.photo} -PHOTO;ENCODING=b;TYPE={$vcard.photo.attachmime}:{$vcard.photo.attach|base64_encode|vcard_enc} +PHOTO;ENCODING=b;TYPE={$vcard.photo.attachmime}:{$vcard.photo.attach|html_entity_decode|base64_encode|vcard_enc} {/if} SORT-STRING:{$vcard.nom|vcard_enc} REV:{$vcard.date|date_format:"%Y%m%dT000000Z"}