From 82256cd322712df63a8f3fe91ada72ad042170b2 Mon Sep 17 00:00:00 2001 From: John Beppu Date: Wed, 22 Oct 2008 15:34:06 -0500 Subject: [PATCH] 1571 made the description show up by running the query w/ the required number of params Signed-off-by: Galen Charlton --- admin/auth_subfields_structure.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/admin/auth_subfields_structure.pl b/admin/auth_subfields_structure.pl index ed92de6c50..a1c636eb0f 100755 --- a/admin/auth_subfields_structure.pl +++ b/admin/auth_subfields_structure.pl @@ -447,8 +447,7 @@ if ($op eq 'add_form') { } elsif ($op eq 'delete_confirm') { my $dbh = C4::Context->dbh; my $sth=$dbh->prepare("select * from auth_subfield_structure where tagfield=? and tagsubfield=? and authtypecode=?"); - #FIXME : called with 2 bind variables when 3 are needed - $sth->execute($tagfield,$tagsubfield); + $sth->execute($tagfield,$tagsubfield,$authtypecode); my $data=$sth->fetchrow_hashref; $sth->finish; $template->param(liblibrarian => $data->{'liblibrarian'}, -- 2.20.1