projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0674c8
)
Removing replace from stopwords.pl
author
Chris Cormack
<crc@liblime.com>
Wed, 9 Jan 2008 01:41:24 +0000
(19:41 -0600)
committer
Joshua Ferraro
<jmf@liblime.com>
Wed, 9 Jan 2008 02:09:54 +0000
(20:09 -0600)
More bug 1546
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
admin/stopwords.pl
patch
|
blob
|
history
diff --git
a/admin/stopwords.pl
b/admin/stopwords.pl
index
d4d219a
..
c16a50c
100755
(executable)
--- 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);
}