]> 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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 16 Jul 2013 19:51:52 +0000 (16:51 -0300)
commitb3bf4592a534a5c9824bdd54c6c0b354c3d34f61
tree1e2d646b9cd8f958d086e60ed47c0ee5e7ae407c
parentdb3ae2c96dade62540cf66f066fc5faca73fa69b
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>
(cherry picked from commit 2614e07e1e2e6386b5f91e65f127940072e54d4d)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
members/memberentry.pl