Skip to content
Snippets Groups Projects
Verified Commit 433c7f37 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix form field name.

parent 4d90313d
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment