[Koha-patches] [PATCH] 1571

Galen Charlton galen.charlton at liblime.com
Wed Oct 22 22:42:50 CEST 2008


Hi John,

As this is your first accepted patch, I'd like to welcome you to the
corps of Koha hackers.  Congratulations!

Regards,

Galen

On Wed, Oct 22, 2008 at 4:34 PM, Galen Charlton
<galen.charlton at liblime.com> wrote:
> From: John Beppu <john.beppu at gmail.com>
>
> made the description show up by running the query w/ the required number of params
> ---
>  admin/auth_subfields_structure.pl |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/admin/auth_subfields_structure.pl b/admin/auth_subfields_structure.pl
> index ed92de6..a1c636e 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'},
> --
> 1.5.5.GIT
>
> _______________________________________________
> Koha-patches mailing list
> Koha-patches at lists.koha.org
> http://lists.koha.org/mailman/listinfo/koha-patches
>



-- 
Galen Charlton
VP, Research & Development, LibLime
galen.charlton at liblime.com
p: 1-888-564-2457 x709
skype: gmcharlt



More information about the Koha-patches mailing list