Fixing bug that was stopping subject maintenance working

This commit is contained in:
rangi 2004-11-05 00:08:22 +00:00
parent 70a7b1439f
commit 998cc6bc2b

View file

@ -112,8 +112,6 @@ bibliosubject table of the Koha database.
sub updatesub{
my ($sub,$oldsub)=@_;
my $dbh = C4::Context->dbh;
$sub=$dbh->quote($sub);
$oldsub=$dbh->quote($oldsub);
my $sth=$dbh->prepare("update bibliosubject set subject=? where subject=?");
$sth->execute($sub,$oldsub);
$sth->finish;