Remove call-time pass-by-reference code which produces fatal error with PHP>=5.4
[platal.git] / templates / profile / adresses.tpl
index 2fd4d33..31fdc59 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2011 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2013 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -34,7 +34,7 @@
 {/if}
 
 <div id="add_address" class="center">
-  <a href="javascript:addAddress()">
+  <a href="javascript:addAddress({$profile->id()})">
     {icon name=add title="Ajouter une adresse"} Ajouter une adresse
   </a>
 </div>