[Koha-patches] [PATCH] (bug #2917) editing authority marc field structure doesn't workl

Nahuel ANGELINETTI nahuel.angelinetti at biblibre.com
Tue Jan 20 13:46:58 CET 2009


This patch add a field in the ->execute() statement which was missing.
The sql request have 8 args, and only 7 was passed.
---
 admin/auth_tag_structure.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/admin/auth_tag_structure.pl b/admin/auth_tag_structure.pl
index dfca6de..447cab4 100755
--- a/admin/auth_tag_structure.pl
+++ b/admin/auth_tag_structure.pl
@@ -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,
-- 
1.5.6.3




More information about the Koha-patches mailing list