fixed more session related bugs

This commit is contained in:
JT Smith 2006-01-17 05:34:57 +00:00
parent 2e5f5c6038
commit c5cf903b45
11 changed files with 47 additions and 47 deletions

View file

@ -523,12 +523,12 @@ sub www_listProductVariants {
%parameters = map {$_->{parameterId} => $_->{name}} sort {$a->{name} <=> $b->{name}} @{$product->getParameter};
%options = map {$_->{optionId} => $_->{value}} @{$product->getOption};
$output = WebGUI::Form::formHeader;
$output .= WebGUI::Form::hidden({
$output = WebGUI::Form::formHeader($session);
$output .= WebGUI::Form::hidden($session,{
name => 'op',
value => 'listProductVariantsSave',
});
$output .= WebGUI::Form::hidden({
$output .= WebGUI::Form::hidden($session,{
name => 'productId',
value => $productId,
});
@ -552,7 +552,7 @@ sub www_listProductVariants {
$output .= '</td><td align="right">'.$_->{weight}."</td><td>";
$output .= '*' if ($_->{weightOverride});
$output .= "</td>";
$output .= "<td>".WebGUI::Form::checkbox({
$output .= "<td>".WebGUI::Form::checkbox($session,{
name => 'available',
value => $_->{variantId},
checked => $_->{available},