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: dc...@prosentient.com.au QA Contact: testo...@bugs.koha-community.org CC: gmcha...@gmail.com, kyle.m.h...@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. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/