diff --git a/atlas/forms.py b/atlas/forms.py index 5aa955e3..aa2795d5 100755 --- a/atlas/forms.py +++ b/atlas/forms.py @@ -464,7 +464,7 @@ class CaseSeriesForm(ModelForm): class CaseCollectionCaseForm(ModelForm): - def __init__(self, *args, user, collection, **kwargs): + def __init__(self, *args, user, collection=None, **kwargs): super(CaseCollectionCaseForm, self).__init__(*args, **kwargs) queryset = get_cases_available_to_user(user, collection=collection)