Bugfix: Adding error trapping for missing or invalid branch code
authorChris Nighswonger <cnighswonger@foundations.edu>
Thu, 4 Feb 2010 15:20:46 +0000 (10:20 -0500)
committerGalen Charlton <gmcharlt@gmail.com>
Thu, 4 Feb 2010 15:28:40 +0000 (10:28 -0500)
commita97aab0212f2d41221df3b387d57e1dd03f539e9
tree7fc2abd55281a4aa18973eeb2d39bb0fcca72ec9
parent5a929b0c16bee0f03cfe9501f691c0c57eca4c82
Bugfix: Adding error trapping for missing or invalid branch code

This patch adds code to trap, log, and return an intelligent message to the user
when a missing or invalid branch code is passed in. This condition can occur if
the user is logged in as the kohaadmin or the user has multiple instances of the staff
client open and has switched users in some instance.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/includes/error-messages.inc
patroncards/edit-batch.pl