http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12475 Bug ID: 12475 Summary: GetMemberDetails should return undef if borrowernumber doesn't exist Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com If you pass an invalid borrowernumber (ie a borrowernumber that doesn't exist in the borrowers table) to GetMemberDetails, you get the following information in the hashref it returns: 'authflags' => undef, 'flags' => {}, 'amountoutstanding' => '0', 'showname' => undef It should just return 'undef' so you know that the borrower you're looking for doesn't exist in the database. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.