Fixes Xnet events edition for users without profile (Closes #1603).
authorStéphane Jacob <sj@m4x.org>
Sun, 8 Apr 2012 15:03:29 +0000 (17:03 +0200)
committerStéphane Jacob <sj@m4x.org>
Sun, 8 Apr 2012 15:03:29 +0000 (17:03 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
ChangeLog
templates/xnetevents/edit.tpl

index 9cd5745..37b1d76 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,7 @@ Bug/Wish:
         - #1577: Fixes alternative payements given by admins               -GLN
         - #1578: Fixes deletion of people inscriptions                     -GLN
         - #1348: Keeps the amount paid when updating participation         -GLN
+        - #1603: Fixes Xnet events edition for users without profile       -JAC
 
     * XnetGrp:
         - #1609: Adds link to account on Xnet account validation           -JAC
index bb31dcc..36d36f0 100644 (file)
@@ -197,8 +197,7 @@ Ton inscription à [METS LE NOM DE L'ÉVÉNEMENT ICI] a bien été enregistrée
 À très bientôt,
 
 -- 
-{assign var="profile" value=$smarty.session.user->profile()}
-{$profile->fullName("promo")}{/if}</textarea><br />
+{$smarty.session.user->fullName("promo")}{/if}</textarea><br />
         {assign var='asso_url' value=$globals->baseurl|cat:'/'|cat:$platal->ns}
         Page internet de l'événement&nbsp;: <input size="40" name="site" value="{$payment_site|default:$asso->site|default:$asso_url}" /><br />
         Rendre public le télépaiement&nbsp;: