author | Lennard de Rijk <ljvderijk@gmail.com> |
Sat, 24 Jan 2009 18:21:50 +0000 | |
changeset 965 | f96cc3d6120f |
parent 964 | 63005fcf12df |
child 966 | d45172b64f2b |
--- a/app/soc/views/helper/access.py Sat Jan 24 17:09:02 2009 +0000 +++ b/app/soc/views/helper/access.py Sat Jan 24 18:21:50 2009 +0000 @@ -207,8 +207,7 @@ """ checkIsUser(request, args, kwargs) - user = user_logic.getForFields({'account': users.get_current_user()}, - unique=True) + user = user_logic.getForCurrentAccount() if user_logic.agreesToSiteToS(user): return