[Koha-bugs] [Bug 16330] Add routes to add, update and delete patrons

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 21 18:45:59 CET 2018


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

--- Comment #114 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
>From AddMember, added by bug 19841:

    my $category = Koha::Patron::Categories->find( $data{categorycode} );
    unless ($category) {
        Koha::Exceptions::BadParameter->throw(
            error => 'Invalid parameter passed',
            parameter => 'categorycode'
        );
    }

Must not we remove that?

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


More information about the Koha-bugs mailing list