chiark / gitweb /
Actually add unrecognised commodities in email processor
[ypp-sc-tools.web-live.git] / yarrg / commod-email-processor
index 79db83d4e97d8b063cebf21496a58b65ea36e41c..3f802ad58f71653ddf77b59a06e06e6658d37634 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 (?)