From 439d2224e1215fa876ff7c5a06f773003555a035 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 28 Feb 2011 08:30:07 +0000 Subject: [PATCH] Bug 1953 - Follow up fix on security patch Fixing: Undefined subroutine prepare called on line 722. Signed-off-by: Chris Cormack --- C4/AuthoritiesMarc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 9315e55110..bd5fe64716 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -719,7 +719,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); } -- 2.39.5