]> git.koha-community.org Git - koha.git/commit
Bug 10507: improve warning about duplicate patron attribute value
authorColin Campbell <colin.campbell@ptfs-europe.com>
Tue, 9 Jul 2013 10:18:49 +0000 (11:18 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 12 Jul 2013 20:57:09 +0000 (20:57 +0000)
commit2614e07e1e2e6386b5f91e65f127940072e54d4d
treecf0208818804f0a4a966ffd16e132f54d0e28d9b
parent5e1f8caf609aa58eabf6f353d12ec25e0e8e23a0
Bug 10507: improve warning about duplicate patron attribute value

If a warning about a duplicated patron attribute is returned,
the value was being passed back for display in the warning
message with the same name as the variable in errors

As the message is displayed in the context of errors
the error value 1 was being displayed not the value
duplicated as intended.

Pass the value to the template with a unique name.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
I fixed another tiny typo while signing off: "is already in use" instead
of "is already is use."

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Passes koha-qa.pl, works as advertised.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
members/memberentry.pl