chiark / gitweb /
Actually add unrecognised commodities in email processor
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Wed, 19 Aug 2009 22:44:23 +0000 (23:44 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Wed, 19 Aug 2009 22:44:23 +0000 (23:44 +0100)
yarrg/commod-email-processor

index 79db83d..3f802ad 100755 (executable)
@@ -134,7 +134,7 @@ sub main () {
                 "SELECT stallid FROM stalls
                        WHERE islandid == $islandid AND stallname == ?
                 ");
-    $sth_insert{'commods'}= $dbh->prepare(
+    $sth_insert{'commod'}= $dbh->prepare(
                 "INSERT OR IGNORE
                         INTO commods
                         (commodname) VALUES (?)