Bug 12454: Can't add new patron categories

To test:
- Add a new patron category
- After saving, the new patron category won't show up in the list
- Apply patch
- Try to add a new patron category again
- It should now save correctly and show up in the list of patron
  categories.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Katrin Fischer 2014-06-19 17:39:56 +02:00 committed by Tomas Cohen Arazi
parent 91dae88abb
commit bf1819a0ac

View file

@ -248,7 +248,7 @@ elsif ( $op eq 'add_validate' ) {
BlockExpiredPatronOpacActions,
default_privacy
)
VALUES (?,?,?,?,?,?,?,?,?,?,?,?)" );
VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)" );
$sth->execute(
map { $input->param($_) } (
'categorycode', 'description',