From 440aac4f2d2b03c21fd42f1066728bfb87d2de26 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Thu, 17 Oct 2002 05:08:27 +0000 Subject: [PATCH] Enabled template selection --- lib/WebGUI/Wobject/Product.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/WebGUI/Wobject/Product.pm b/lib/WebGUI/Wobject/Product.pm index 32e0cbf11..f544edf27 100644 --- a/lib/WebGUI/Wobject/Product.pm +++ b/lib/WebGUI/Wobject/Product.pm @@ -40,7 +40,7 @@ sub duplicate { manual=>$_[0]->get("manual"), brochure=>$_[0]->get("brochure"), price=>$_[0]->get("price"), - Product_templateId=>$_[0]->get("Product_templateId"), + templateId=>$_[0]->get("templateId"), productNumber=>$_[0]->get("productNumber") }); $file = WebGUI::Attachment->new($_[0]->get("image1"),$_[0]->get("wobjectId")); @@ -104,7 +104,7 @@ sub purge { #------------------------------------------------------------------- sub set { - $_[0]->SUPER::set($_[1],[qw(price Product_templateId productNumber image1 image2 image3 manual brochure warranty)]); + $_[0]->SUPER::set($_[1],[qw(price templateId productNumber image1 image2 image3 manual brochure warranty)]); } #-------------------------------------------------------------------