[interchange-cvs] interchange - heins modified lib/Vend/Cart.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Mon Nov 17 09:24:12 EST 2003
User: heins
Date: 2003-11-17 14:24:11 GMT
Modified: lib/Vend Cart.pm
Log:
* Fix bug preventing inventory quantity of zero interacting with
MaxOrderQuantity feature.
Revision Changes Path
2.10 +3 -4 interchange/lib/Vend/Cart.pm
rev 2.10, prev_rev 2.9
Index: Cart.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Cart.pm,v
retrieving revision 2.9
retrieving revision 2.10
diff -u -r2.9 -r2.10
--- Cart.pm 18 Jun 2003 17:34:44 -0000 2.9
+++ Cart.pm 17 Nov 2003 14:24:11 -0000 2.10
@@ -1,6 +1,6 @@
# Vend::Cart - Interchange shopping cart management routines
#
-# $Id: Cart.pm,v 2.9 2003/06/18 17:34:44 jon Exp $
+# $Id: Cart.pm,v 2.10 2003/11/17 14:24:11 mheins Exp $
#
# Copyright (C) 2002-2003 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -25,7 +25,7 @@
package Vend::Cart;
-$VERSION = substr(q$Revision: 2.9 $, 10);
+$VERSION = substr(q$Revision: 2.10 $, 10);
use strict;
@@ -226,8 +226,7 @@
$col = $tab;
$tab = $item->{mv_ib} || $Vend::Cfg->{ProductFiles}[0];
}
- $item->{mv_max_quantity} = ::tag_data($tab, $col, $item->{code})
- || '';
+ $item->{mv_max_quantity} = ::tag_data($tab, $col, $item->{code});
if(
length $item->{mv_max_quantity}
More information about the interchange-cvs
mailing list