diff options
Diffstat (limited to 'sca-cpp/trunk/modules/edit/accounts.py')
-rw-r--r-- | sca-cpp/trunk/modules/edit/accounts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/edit/accounts.py b/sca-cpp/trunk/modules/edit/accounts.py index 600134c054..4589f6c0cc 100644 --- a/sca-cpp/trunk/modules/edit/accounts.py +++ b/sca-cpp/trunk/modules/edit/accounts.py @@ -25,7 +25,7 @@ def accountid(user): # Get the current user's account def get(id, user, cache): account = cache.get(accountid(user)) - if isNil(account): + if isNil(account) or account is None: return () return account |