From 904dbd04f67937b2a52948e02f40d2441ac034a3 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Tue, 8 Jan 2008 19:41:24 -0600 Subject: [PATCH] Removing replace from stopwords.pl More bug 1546 Signed-off-by: Joshua Ferraro --- admin/stopwords.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/stopwords.pl b/admin/stopwords.pl index d4d219a9fd..c16a50c698 100755 --- a/admin/stopwords.pl +++ b/admin/stopwords.pl @@ -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); } -- 2.39.5