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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to