diff options
| -rw-r--r-- | ishtar_common/models.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/ishtar_common/models.py b/ishtar_common/models.py index e4a72eab7..f3f9f0778 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2520,7 +2520,7 @@ class IshtarUser(User):          res = cache.get(cache_key)          if res in (True, False):              return res -        res = super(IshtarUser, self).has_perm(perm, obj) +        res = super(IshtarUser, self).has_perm(perm, model)          cache.set(cache_key, res, settings.CACHE_SMALLTIMEOUT)          return res | 
