[interchange-cvs] interchange - heins modified lib/Vend/Interpolate.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Mon Jul 28 21:27:28 UTC 2008
User: heins
Date: 2008-07-28 21:27:28 GMT
Modified: lib/Vend Interpolate.pm
Log:
* Make levies description fix I should have originally made.
Revision Changes Path
2.306 interchange/lib/Vend/Interpolate.pm
rev 2.306, prev_rev 2.305
Index: Interpolate.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Interpolate.pm,v
retrieving revision 2.305
retrieving revision 2.306
diff -u -r2.305 -r2.306
--- Interpolate.pm 28 Jul 2008 20:47:48 -0000 2.305
+++ Interpolate.pm 28 Jul 2008 21:27:28 -0000 2.306
@@ -1,6 +1,6 @@
# Vend::Interpolate - Interpret Interchange tags
#
-# $Id: Interpolate.pm,v 2.305 2008-07-28 20:47:48 mheins Exp $
+# $Id: Interpolate.pm,v 2.306 2008-07-28 21:27:28 mheins Exp $
#
# Copyright (C) 2002-2008 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -28,7 +28,7 @@
require Exporter;
@ISA = qw(Exporter);
-$VERSION = substr(q$Revision: 2.305 $, 10);
+$VERSION = substr(q$Revision: 2.306 $, 10);
@EXPORT = qw (
@@ -5924,6 +5924,7 @@
$sort = $type eq 'handling' ? 100 : 500;
}
+
my @modes = split /\0/, $mode;
for my $m (@modes) {
$cost += shipping($m);
@@ -5936,6 +5937,9 @@
$l->{description} .= tag_shipping_desc($m);
}
}
+ else {
+ $l->{description} = tag_shipping_desc($m);
+ }
}
}
elsif($type eq 'custom') {
More information about the interchange-cvs
mailing list