[Koha-bugs] [Bug 18179] Patron Restrictions not showing in tab on member detail page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 18 17:46:18 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18179

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org

--- Comment #6 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Yes we have a big problem here, it may be needed to fix it globally.
For instance:
in members/memberentry.pl

755 $template->param(
756     housebound_role  =>
Koha::Patron::HouseboundRoles->find($borrowernumber),
757 );

If someone add a param:

755 $template->param(
756     housebound_role  =>
Koha::Patron::HouseboundRoles->find($borrowernumber),
757     foo => 1,
758 );

housebound_role will be set to 'foo' if the patron does not have a housebound
role, and foo will not be defined in the template.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list