From 8bb514a401035850cc8ecee72f09bc4b69507100 Mon Sep 17 00:00:00 2001 From: eric Date: Tue, 12 Nov 2013 17:28:07 -0500 Subject: [PATCH] somehow the "borrow" function wasn't tested in "reserves" --- frontend/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/views.py b/frontend/views.py index df35f8e4..ea1a7dc7 100755 --- a/frontend/views.py +++ b/frontend/views.py @@ -2636,7 +2636,7 @@ def borrow(request, work_id): except User.DoesNotExist: libuser = None if libuser: - acq = work.user_license(libuser).borrowable_acq + acq = work.get_user_license(libuser).borrowable_acq if not libuser or not acq: acq=work.get_lib_license(request.user).borrowable_acq if acq: