[ic] Typo in Cart.pm

Josh Lavin josh-ic at att.net
Mon Oct 4 17:04:36 UTC 2010


http://github.com/jlavin/interchange/commit/443d9d43047d16653faf2ee8164ce695059a6e9d

diff --git a/lib/Vend/Cart.pm b/lib/Vend/Cart.pm
index 88bf42c..4eb01eb 100644
--- a/lib/Vend/Cart.pm
+++ b/lib/Vend/Cart.pm
@@ -275,7 +275,7 @@ sub toss_cart {
                                   last MAX_QUANTITY;
                               }

-                             elsif ($prefix = '?') {
+                             elsif ($prefix eq '?') {
                                   next QUANTITY_FIELD if !defined $$max 
|| $$max <= 0;
                                   $$mv_max = $$max;
                                   last QUANTITY_ADJUST;


Let me know if I should be using pull requests...

-- 
Josh Lavin
Perusion -- Expert Interchange Consulting    http://www.perusion.com/



More information about the interchange-users mailing list