diff -r 6eac584ce14c -r 2250bb08f8e2 app/soc/views/helper/access.py --- a/app/soc/views/helper/access.py Sat Jan 24 00:07:34 2009 +0000 +++ b/app/soc/views/helper/access.py Sat Jan 24 00:27:36 2009 +0000 @@ -323,7 +323,7 @@ unique=True) fields = {'user' : user, - 'active' : True} + 'state' : 'active'} host = host_logic.getForFields(fields, unique=True) @@ -356,7 +356,7 @@ fields = {'user' : user, 'scope_path' : kwargs['scope_path'], - 'active' : True} + 'state' : 'active'} host = host_logic.getForFields(fields, unique=True)