projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55af15b
)
Bug 1953 - Follow up fix on security patch
author
Marcel de Rooy
<M.de.Rooy@rijksmuseum.nl>
Mon, 28 Feb 2011 08:30:07 +0000
(08:30 +0000)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Mon, 28 Feb 2011 08:34:40 +0000
(21:34 +1300)
Fixing: Undefined subroutine prepare called on line 722.
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/AuthoritiesMarc.pm
patch
|
blob
|
history
diff --git
a/C4/AuthoritiesMarc.pm
b/C4/AuthoritiesMarc.pm
index
9315e55
..
bd5fe64
100644
(file)
--- 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);
}