[Koha-bugs] [Bug 18558] New: Koha::Clubs::get_enrollable explodes if no patron given

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 8 20:37:01 CEST 2017


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

            Bug ID: 18558
           Summary: Koha::Clubs::get_enrollable explodes if no patron
                    given
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: kyle at bywatersolutions.com
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 12461

The method should not make $params->{borrower} mandatory.
But if not passed, the method explodes with 

Can't call method "branchcode" on an undefined value at
/home/vagrant/kohaclone/Koha/Clubs.pm line 60.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12461
[Bug 12461] Add patron clubs feature
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list