Created attachment 2655 [details] error When you try to add a barcode to a list on the staff client that doesn't exist your error reads "A record matching barcode 123456987 has already been added." -- it should instead say that this barcode doesn't exist.
Created attachment 2662 [details] [review] Proposed fix The check to see if an item exists always evaluates as true. Correcting this lets the script handle the error as it was designed to.
signed off on patch - much better!
This bug is mentioned in: Fix for Bug 5265, error message on lists is misleading http://lists.koha-community.org/pipermail/koha-patches/2010-October/012607.html Fix for Bug 5265, error message on lists is misleading http://lists.koha-community.org/pipermail/koha-patches/2010-October/012609.html
This has been applied to master, please test and close