Removing replace from stopwords.pl

More bug 1546

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Chris Cormack 2008-01-08 19:41:24 -06:00 committed by Joshua Ferraro
parent e0674c8309
commit 904dbd04f6
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ if ($op eq 'add_form') {
$template->param(add_validate => 1);
my $dbh = C4::Context->dbh;
my @tab = split / |,/, $input->param('word');
my $sth=$dbh->prepare("replace stopwords (word) values (?)");
my $sth=$dbh->prepare("INSERT INTO stopwords (word) VALUES (?)");
foreach my $insert_value (@tab) {
$sth->execute($insert_value);
}