Bug 12454: Can't add new patron categories
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Thu, 19 Jun 2014 15:39:56 +0000 (17:39 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 20 Jun 2014 22:26:14 +0000 (19:26 -0300)
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>
admin/categorie.pl

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