Cleaning up some left over unnamed parameter in Form methods.

This commit is contained in:
Martin Kamerbeek 2005-08-12 17:59:16 +00:00
parent e2f7a9740e
commit 0f9064a8ab
3 changed files with 46 additions and 13 deletions

View file

@ -169,7 +169,10 @@ sub www_checkoutConfirm {
$plugin = WebGUI::Commerce::Payment->load(WebGUI::Session::getScratch('paymentGateway'));
$f = WebGUI::HTMLForm->new;
$f->hidden('op', 'checkoutSubmit');
$f->hidden(
-name => 'op',
-value => 'checkoutSubmit'
);
$f->raw($plugin->checkoutForm);
$f->submit(value=>$i18n->get('pay button'));