From 9aa32cc4f69cd2ecb65a1dcb5aad8482c230c62b Mon Sep 17 00:00:00 2001 From: tschmidt Date: Wed, 18 Jan 2012 11:20:22 -0800 Subject: [PATCH] fixed custom field list without blank default --- helpdesk/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/forms.py b/helpdesk/forms.py index e5797fa1..b7827aee 100644 --- a/helpdesk/forms.py +++ b/helpdesk/forms.py @@ -196,8 +196,8 @@ class TicketForm(forms.Form): instanceargs['max_digits'] = field.max_length elif field.data_type == 'list': fieldclass = forms.ChoiceField + choices = field.choices_as_array if field.empty_selection_list: - choices = field.choices_as_array choices.insert(0, ('','---------' ) ) instanceargs['choices'] = choices elif field.data_type == 'boolean':