Bug 16073: (follow-up) Fix software error in circulation.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 16 Mar 2016 09:32:58 +0000 (09:32 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Mon, 21 Mar 2016 16:07:18 +0000 (16:07 +0000)
commit8d64bb9eb0555983936077b5fab4ca1a648b6871
tree9e3cdcea6a54cfeb7ee32f47f5f1aa8080a6a226
parentcfa76a35771bb5035e51ff70f8b35439a77cac2a
Bug 16073: (follow-up) Fix software error in circulation.pl

Do not crash if the patron does not exist.

Test plan:
Access circ/circulation.pl?borrowernumber=42424242
you should get an error without this patch
With this patch, you will get an empty patron detail page (should be
fixed in another patch, but this behavior exists for a while)

Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
circ/circulation.pl