Undid superfluas replacement of .name() with .name_or_id()
Patch by: Sverre Rabbelier
--- a/app/soc/views/models/student_proposal.py Mon Apr 13 16:31:36 2009 +0000
+++ b/app/soc/views/models/student_proposal.py Mon Apr 13 21:32:12 2009 +0000
@@ -898,7 +898,7 @@
for mentor_key in possible_mentors:
possible_mentor = mentor_logic.logic.getFromKeyName(mentor_key.id_or_name())
- mentor_names.append(possible_mentor.id_or_name())
+ mentor_names.append(possible_mentor.name())
context['possible_mentors'] = ', '.join(mentor_names)