summaryrefslogtreecommitdiff
path: root/ishtar_common/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/forms.py')
-rw-r--r--ishtar_common/forms.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/ishtar_common/forms.py b/ishtar_common/forms.py
index 6a18102df..086f85b90 100644
--- a/ishtar_common/forms.py
+++ b/ishtar_common/forms.py
@@ -1413,6 +1413,13 @@ class QAForm(CustomForm, ManageOldType):
return ""
return value
+ def _get_person(self, value):
+ try:
+ value = models.Person.objects.get(pk=value).cached_label
+ except models.Person.DoesNotExist:
+ return ""
+ return value
+
def save(self, items, user):
if not items or not user.ishtaruser:
return