http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14015
--- Comment #11 from Marc Véron <[email protected]> --- Hi Marcel, I re-tested and reproduced with 3.22.00.000 on our demo installation and with current master 3.23.00.000 on my development vm. Test 1: - Go to "My Checkouts" - Enter 0 (zero) in barcode field and hit Enter Expected result: Message that barcode 0 does not exist Result: Software error. Can't use string ("1") as a HASH ref while "strict refs" in use at /usr/share/kohaclone/circ/circulation.pl line 470 (Like in comment #2) Test 2: - Search a patron and got to the checkout page - Enter 0 (zero) in barcode filed and hit Enter Expected result: Message that barcode 0 does not exist Result: Checkout page loads (circ/circulation.pl). You have to search the patron again to proceed. (Like in comment #1) For some patrons I get the result 1 (patrons with staff permissions), for others I get the result 2 ('normal' patrons). The reason for both is that the borrowernumber is set to '' in circ/circulation.pl line 235 (because of $print eq 'yes' evaluates to true which is wrong, $print should not be 'yes' here). -- You are receiving this mail because: 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/
