POD for Operation/MessageLog

fixed broken i18n tag in Macro/Product
This commit is contained in:
Colin Kuskie 2005-12-22 00:39:33 +00:00
parent 4206828715
commit 9bc967a042
2 changed files with 32 additions and 1 deletions

View file

@ -33,7 +33,7 @@ sub process {
@param = @_;
return WebGUI::International::get('no sku or id') unless ($_[0]);
return WebGUI::International::get('no sku or id','Macro_Product') unless ($_[0]);
($productId, $variantId) = WebGUI::SQL->quickArray("select productId, variantId from productVariants where sku=".quote($_[0]));
($productId) = WebGUI::SQL->quickArray("select productId from products where sku=".quote($_[0])) unless ($productId);