[Koha-devel] Error deleting an authority

Paul paul.a at aandc.org
Sun Apr 3 00:48:43 CEST 2011


I'm getting error:
Undefined subroutine &C4::AuthoritiesMarc::prepare called at 
/usr/share/koha/lib/C4/AuthoritiesMarc.pm line 720.

Here's the code from AuthoritiesMarc.pm
           ModZebra($authid,"recordDelete","authorityserver",GetAuthority($authid),undef);
720=>    my $sth = prepare("DELETE FROM auth_header WHERE authid=?");
          $sth->execute($authid);

The authid is being passed [correctly?] as a 4 digit integer|string: 
<http://koha-admin/cgi-bin/koha/authorities/authorities-home.pl?op=delete&amp;authid=2925>

Any thoughts?

Thanks

Paul
Tired old sys-admin 



More information about the Koha-devel mailing list