X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;ds=sidebyside;f=yarrg%2Fweb%2Fquery_commod;h=9cb14ca6870e70abf887b518f2e9698313d67158;hb=98610392fde2add293bee6199f2de1d6f88559d8;hp=eddc0975d05f067358c6835a81710d97f8039b8d;hpb=b83c36dbcfb960638454348fef867f1456329867;p=ypp-sc-tools.main.git diff --git a/yarrg/web/query_commod b/yarrg/web/query_commod index eddc097..9cb14ca 100644 --- a/yarrg/web/query_commod +++ b/yarrg/web/query_commod @@ -35,6 +35,7 @@ <%args> $quri +$dbh $commodstring => ''; $someresults $emsgokorprint @@ -56,7 +57,8 @@ Enter commodity (abbreviations are OK):
-<&| qtextstring, qa => $qa, thingstring => 'commodstring', emsgstore => \$emsg, +<&| qtextstring, qa => $qa, dbh => $dbh, + thingstring => 'commodstring', emsgstore => \$emsg, perresult => sub { ($commodname,$commodid)= @_; } &> size=80