changeset 3066 | 45e2c3e70761 |
parent 2958 | 0f42428b7163 |
child 3070 | afd98e17a2b2 |
--- a/app/soc/modules/ghop/views/helper/access.py Tue Oct 27 20:04:51 2009 +0000 +++ b/app/soc/modules/ghop/views/helper/access.py Thu Oct 29 22:58:06 2009 +0100 @@ -128,7 +128,7 @@ 'link_id': django_args['link_id'], 'scope_path': django_args['scope_path'], } - task_entity = ghop_task_logic.logic.getFromKeyFields(task_filter) + task_entity = ghop_task_logic.logic.getFromKeyFieldsOr404(task_filter) if task_entity.status not in ['Unapproved', 'Unpublished', 'Open']: # task is claimed at least once