diff --git a/biscuit/apps/exlibris/views.py b/biscuit/apps/exlibris/views.py index 16b39a85ea5c20e60cb6423a4621558870b5fe9b..541c5865878a3e92ab8586fc65523647f240fc89 100644 --- a/biscuit/apps/exlibris/views.py +++ b/biscuit/apps/exlibris/views.py @@ -264,7 +264,7 @@ def person_borrow(request: HttpRequest) -> HttpResponse: if request.method == 'POST': if person_borrow_form.is_valid(): - person = person_borrow_form.cleaned_data['person'] + person = person_borrow_form.cleaned_data['borrower'] for barcode in person_borrow_form.cleaned_data['barcodes'].splitlines(): try: