[interchange-cvs] interchange - heins modified lib/Vend/Interpolate.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Sat Dec 3 14:31:38 EST 2005


User:      heins
Date:      2005-12-03 19:31:38 GMT
Modified:  lib/Vend Tag: STABLE_5_4-branch Interpolate.pm
Log:
* Fix syntax error introduced by improper application of patch.

Revision  Changes    Path
No                   revision



No                   revision



2.261.2.3 +2 -9      interchange/lib/Vend/Interpolate.pm


rev 2.261.2.3, prev_rev 2.261.2.2
Index: Interpolate.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Interpolate.pm,v
retrieving revision 2.261.2.2
retrieving revision 2.261.2.3
diff -u -r2.261.2.2 -r2.261.2.3
--- Interpolate.pm	2 Dec 2005 18:56:44 -0000	2.261.2.2
+++ Interpolate.pm	3 Dec 2005 19:31:38 -0000	2.261.2.3
@@ -1,6 +1,6 @@
 # Vend::Interpolate - Interpret Interchange tags
 # 
-# $Id: Interpolate.pm,v 2.261.2.2 2005/12/02 18:56:44 mheins Exp $
+# $Id: Interpolate.pm,v 2.261.2.3 2005/12/03 19:31:38 mheins Exp $
 #
 # Copyright (C) 2002-2005 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -28,7 +28,7 @@
 require Exporter;
 @ISA = qw(Exporter);
 
-$VERSION = substr(q$Revision: 2.261.2.2 $, 10);
+$VERSION = substr(q$Revision: 2.261.2.3 $, 10);
 
 @EXPORT = qw (
 
@@ -2720,13 +2720,6 @@
 			= $Vend::Session->{discount_space}{$Vend::DiscountSpaceName = $dspace}
 			||= {};
 #::logDebug("switch_discount_space: changed discount space from '$oldspace' to '$Vend::DiscountSpaceName'");
-	}
-	else {
-		# Make certain the hash is set, in case app programmer manipulated the session directly.
-		$::Discounts
-			= $Vend::Session->{discount}
-			= $Vend::Session->{discount_space}{$Vend::DiscountSpaceName}
-			unless ref $::Discounts eq 'HASH';
 	}
 	else {
 		# Make certain the hash is set, in case app programmer manipulated the session directly.








More information about the interchange-cvs mailing list