Bug 1953 - Follow up fix on security patch

Fixing: Undefined subroutine prepare called on line 722.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 439d2224e1)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
Marcel de Rooy 2011-02-28 08:30:07 +00:00 committed by Chris Nighswonger
parent b66662413b
commit 18faba5e06
1 changed files with 1 additions and 1 deletions

View File

@ -717,7 +717,7 @@ sub DelAuthority {
my $dbh=C4::Context->dbh;
ModZebra($authid,"recordDelete","authorityserver",GetAuthority($authid),undef);
my $sth = prepare("DELETE FROM auth_header WHERE authid=?");
my $sth = $dbh->prepare("DELETE FROM auth_header WHERE authid=?");
$sth->execute($authid);
}