chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve graph layouts a bit
[ypp-sc-tools.db-live.git]
/
yarrg
/
commod-email-processor
diff --git
a/yarrg/commod-email-processor
b/yarrg/commod-email-processor
index 79db83d4e97d8b063cebf21496a58b65ea36e41c..1cff462cda1c67d451ee8064b9ac952e8e096cae 100755
(executable)
--- a/
yarrg/commod-email-processor
+++ b/
yarrg/commod-email-processor
@@
-39,7
+39,7
@@
BEGIN {
use Commods;
use CommodsDatabase;
use Commods;
use CommodsDatabase;
-set
locale(LC_CTYPE, "en_GB.UTF-8"
);
+set
_ctype_utf8(
);
my $parser= new MIME::Parser;
our $entity;
my $parser= new MIME::Parser;
our $entity;
@@
-134,7
+134,7
@@
sub main () {
"SELECT stallid FROM stalls
WHERE islandid == $islandid AND stallname == ?
");
"SELECT stallid FROM stalls
WHERE islandid == $islandid AND stallname == ?
");
- $sth_insert{'commod
s
'}= $dbh->prepare(
+ $sth_insert{'commod'}= $dbh->prepare(
"INSERT OR IGNORE
INTO commods
(commodname) VALUES (?)
"INSERT OR IGNORE
INTO commods
(commodname) VALUES (?)