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:
parent
b66662413b
commit
18faba5e06
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue