Probably fixed a bug on the live instance.
authorLennard de Rijk <ljvderijk@gmail.com>
Mon, 02 Feb 2009 20:07:52 +0000
changeset 1190 449b9d93d890
parent 1189 14357ec13647
child 1191 bb530ca58bc5
Probably fixed a bug on the live instance. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/views/models/user.py
--- a/app/soc/views/models/user.py	Mon Feb 02 17:02:31 2009 +0000
+++ b/app/soc/views/models/user.py	Mon Feb 02 20:07:52 2009 +0000
@@ -105,7 +105,7 @@
     """
 
     # fill in the email field with the data from the entity
-    form.fields['account'].initial = entity.account.email()
+    form.fields['account'].initial = entity.account.email
     form.fields['agreed_to_tos_on'].initial = entity.agreed_to_tos_on
     form.fields['agreed_to_tos_on'].example_text = self._getToSExampleText()
     form.fields['status'].initial = entity.status