more bugfixes. last of this round of syntaxCheck.t fixes.

This commit is contained in:
Matthew Wilson 2006-01-15 19:39:12 +00:00
parent 9b867ab627
commit f8de599f35
11 changed files with 40 additions and 31 deletions

View file

@ -41,7 +41,7 @@ sub process {
return $i18n->get('cannot find product') unless ($productId);
$product = WebGUI::Product->new($self->session,$productId);
$product = WebGUI::Product->new($session,$productId);
if ($variantId) {
$variant = [ $product->getVariant($variantId) ];
@ -75,7 +75,7 @@ sub process {
$var{'variants.message'} = $i18n->get('available product configurations');
$templateId = $_[1] || $product->get('templateId');
return WebGUI::Asset::Template->new($ssession,$templateId)->process(\%var);
return WebGUI::Asset::Template->new($session,$templateId)->process(\%var);
}
1;