app/soc/views/helper/surveys.py
changeset 2533 941732c52b67
parent 2530 d7a0ab3f1965
child 2539 dd0322a37e44
--- a/app/soc/views/helper/surveys.py	Sat Jul 04 15:16:54 2009 +0200
+++ b/app/soc/views/helper/surveys.py	Sat Jul 04 15:30:08 2009 +0200
@@ -293,8 +293,7 @@
     # add all properties, but select chosen one
     # TODO(ajaksu): this breaks ordering and blocks merging choice methods
     options = getattr(self.survey_content, field)
-    has_record = not self.editing and self.survey_record
-    if has_record and hasattr(self.survey_record, field):
+    if self.survey_record and hasattr(self.survey_record, field):
       these_choices.append((value, value))
       if value in options:
         options.remove(value)