summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 48218ba94..c4dcd4c44 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -1982,6 +1982,7 @@ class Person(Address, Merge, OwnPerms, ValueGetter):
res = cache.get(cache_key)
if res in (True, False):
return res
+
if type(right_name) in (list, tuple):
res = bool(self.person_types.filter(
txt_idx__in=right_name).count()) or \