From 6dcc3e260f9f952373c5d54b2d9e3fd0071fa346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Mon, 17 Apr 2017 17:07:34 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 18179: Patron Restrictions not showing on member detail page When a borrower has a restriction applied, the Restrictions tab on the Details screen (moremember.pl) doesn't show the restriction is there even though there's a message at the top of the screen saying the account is restricted. The restrictions appear correctly on the circulation page (circulation.pl). To test: - Apply patch - Verify that restrictions tab on moremember.pl behaves the same as on circulation.pl Signed-off-by: Owen Leonard --- members/moremember.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/moremember.pl b/members/moremember.pl index 7bea08da..36a6666 100755 --- a/members/moremember.pl +++ b/members/moremember.pl @@ -346,7 +346,7 @@ $template->param( is_child => ($category_type eq 'C'), samebranch => $samebranch, quickslip => $quickslip, - housebound_role => $patron->housebound_role, + housebound_role => $patron->housebound_role // '', privacy_guarantor_checkouts => $data->{'privacy_guarantor_checkouts'}, activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''), AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'), -- 2.1.4