Fixed unknown variable in GHOP Access checker.
authorLennard de Rijk <ljvderijk@gmail.com>
Fri, 18 Sep 2009 21:21:22 +0200
changeset 2958 0f42428b7163
parent 2957 f6515daaf000
child 2959 16b4476d4cb9
Fixed unknown variable in GHOP Access checker. Fixes Issue 691.
app/soc/modules/ghop/views/helper/access.py
--- a/app/soc/modules/ghop/views/helper/access.py	Fri Sep 18 20:06:28 2009 +0200
+++ b/app/soc/modules/ghop/views/helper/access.py	Fri Sep 18 21:21:22 2009 +0200
@@ -121,7 +121,7 @@
 
       if task_query.count() >= org_entity.task_quota_limit:
         # too many tasks access denied
-        raise out_of_band.AccessViolation(message_fmt=DEF_MAX_TASKS_REACHED)
+        raise out_of_band.AccessViolation(message_fmt=DEF_MAX_TASKS_REACHED_MSG)
 
     if 'link_id' in django_args:
       task_filter = {