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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 7ef06ddb7..280376966 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -386,7 +386,7 @@ class GeneralType(models.Model):
keys = []
content_type = ContentType.objects.get_for_model(self.__class__)
for ik in ItemKey.objects.filter(content_type=content_type,
- object_id=ik.pk).all():
+ object_id=self.pk).all():
keys.append(ik.key)
return keys