(bug #2917) editing authority marc field structure doesn't workl
authorNahuel ANGELINETTI <nahuel.angelinetti@biblibre.com>
Tue, 20 Jan 2009 12:46:58 +0000 (13:46 +0100)
committerHenri-Damien LAURENT <henridamien@koha-fr.org>
Tue, 27 Jan 2009 11:19:47 +0000 (12:19 +0100)
This patch add a field in the ->execute() statement which was missing.
The sql request have 8 args, and only 7 was passed.

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
admin/auth_tag_structure.pl

index dfca6de..447cab4 100755 (executable)
@@ -153,6 +153,7 @@ if ($op eq 'add_form') {
         my $authorised_value =$input->param('authorised_value');
         unless (C4::Context->config('demo') eq 1) {
             $sth->execute(
+                            $tagfield,
                             $liblibrarian,
                             $libopac,
                             $repeatable?1:0,