# HG changeset patch # User Lennard de Rijk # Date 1237920202 0 # Node ID ed24a0bd19d98e1696099d7a61e97c35c389bdb0 # Parent 7698408e10a5ee0e6200aa115c8e03d59c2c4940 Fixed error occurring when mentor or student posts a comment because a built-in function was passed rather then a real argument. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 7698408e10a5 -r ed24a0bd19d9 app/soc/views/models/student_proposal.py --- a/app/soc/views/models/student_proposal.py Tue Mar 24 18:00:46 2009 +0000 +++ b/app/soc/views/models/student_proposal.py Tue Mar 24 18:43:22 2009 +0000 @@ -355,7 +355,7 @@ if not reviewer: # no org_admin found, maybe it's a mentor? - reviewer = mentor_logic.logic.getForFields(filter, unique=True) + reviewer = mentor_logic.logic.getForFields(fields, unique=True) # create the review (reviewer might be None if a Host or Developer is posting) self._createReviewFor(entity, reviewer, comment, is_public=True)