app/soc/logic/models/user.py
changeset 1534 0a8dbeccf0d9
parent 1523 1e6ac8f61a97
child 1600 0aa3de1b2acc
--- a/app/soc/logic/models/user.py	Thu Feb 26 18:00:30 2009 +0000
+++ b/app/soc/logic/models/user.py	Thu Feb 26 20:23:21 2009 +0000
@@ -110,8 +110,8 @@
       # default user to the current logged in user
       user = self.getForAccount(account)
 
-    if user:
-      return user.is_developer
+    if user and user.is_developer:
+      return True
 
     if account and (account == users.get_current_user()):
       return users.is_current_user_admin()