From 030ed815b6d6d95b233f3925ec9545d83b2268b1 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 28 Feb 2011 09:24:54 +0100 Subject: [PATCH] Follow up fix on security patch Content-Type: text/plain; charset="utf-8" Fixing: Undefined subroutine prepare called on line 722. --- C4/AuthoritiesMarc.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 9315e55..bd5fe64 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); } -- 1.6.0.6