changeset 2058 | 7ef12c03447c |
parent 2005 | e8032965f37a |
child 2144 | 51c84d585456 |
--- a/common/mixins.py Fri Jun 05 15:06:55 2009 +0200 +++ b/common/mixins.py Fri Jun 05 15:09:20 2009 +0200 @@ -237,7 +237,7 @@ @obsolete('use EntityFieldsForm.subject_in_state_vocabulary') def subject_in_state_vocabulary(self, rschema, limit=None): - form = self.vreg.select_object('forms', 'edition', self.req, entity=self) + form = self.vreg.select('forms', 'edition', self.req, entity=self) return form.subject_in_state_vocabulary(rschema, limit)