[Bug 12269] New: Multiple definitions of adult borrower
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12269 Bug ID: 12269 Summary: Multiple definitions of adult borrower Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: pasi.kallinen@pttk.fi QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com rgrep adultborrower * | grep -v ^blib shows: circ/circulation.pl: $template->param( adultborrower => 1 ) if ( $borrower->{'category_type'} eq 'A' ); members/boraccount.pl:$template->param( adultborrower => 1 ) if ( $data->{'category_type'} eq 'A' ); members/moremember.pl: ( $template->param( adultborrower => 1 ) ) if ( $category_type eq 'A' || $category_type eq 'I' ); members/printfeercpt.pl:$template->param( adultborrower => 1 ) if ( $data->{'category_type'} eq 'A' ); etc. in several more places. There really should be a single function for this, or inconsistencies will creep in - note the 'A' or 'I' in moremember! -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org