[wellwell-devel] [wellwell] Fix check of wrong configuration setting in WellWell::Cart::cart_item.

Stefan Hornburg wellwell-devel at rt.icdevgroup.org
Tue Sep 28 09:36:00 UTC 2010


commit b0d92ff43c2e88b7cee2b66a07e2c566c6ee8eb7
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Tue Sep 28 11:18:34 2010 +0200

    Fix check of wrong configuration setting in WellWell::Cart::cart_item.

 lib/WellWell/Cart.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/WellWell/Cart.pm b/lib/WellWell/Cart.pm
index a8f106e..d85866c 100644
--- a/lib/WellWell/Cart.pm
+++ b/lib/WellWell/Cart.pm
@@ -60,7 +60,7 @@ sub cart_item {
 			 mv_si => 0);
 
 	# get automodifiers
-	if (ref($Vend::Cfg->{UseModifier}) eq 'ARRAY') {
+	if (ref($Vend::Cfg->{AutoModifier}) eq 'ARRAY') {
 		Vend::Order::auto_modifier(\%item);
 	}
 	



More information about the wellwell-devel mailing list