bug 2885: attempting to add library with existing code now gives error message
authorGalen Charlton <gmcharlt@gmail.com>
Mon, 15 Feb 2010 02:10:25 +0000 (21:10 -0500)
committerGalen Charlton <gmcharlt@gmail.com>
Mon, 15 Feb 2010 02:13:50 +0000 (21:13 -0500)
commit2b125a6f93b6e1d7fec743ce6ab3cbf7b96252a8
tree2720d4f6f1784582fd03907dca0c622e2529db27
parentc0977360848fe7d5edd0050c00b5b246d1e7e211
bug 2885: attempting to add library with existing code now gives error message

If one attempts to add a new library with a code already in use,
an error message is shown.  The main library data input by the user
is preserved, allowing the user to try a new code.

This also corrects a glitch in the previous patch concerning
adding a branch category whose code is already in use.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
admin/branches.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tmpl