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

interchange-core@interchange.redhat.com interchange-core@interchange.redhat.com
Tue Jan 8 16:10:00 2002


User:      heins
Date:      2002-01-08 21:09:04 GMT
Modified:  lib/Vend Tag: STABLE_4_8-branch Interpolate.pm
Log:
	* Fix bug in [if-item-param field eq string] caused by improper
	  reference to pointer.

Revision  Changes    Path
No                   revision



No                   revision



2.9.2.9   +4 -4      interchange/lib/Vend/Interpolate.pm


rev 2.9.2.9, prev_rev 2.9.2.8
Index: Interpolate.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/Interpolate.pm,v
retrieving revision 2.9.2.8
retrieving revision 2.9.2.9
diff -u -r2.9.2.8 -r2.9.2.9
--- Interpolate.pm	2001/11/27 16:45:03	2.9.2.8
+++ Interpolate.pm	2002/01/08 21:09:04	2.9.2.9
@@ -1,6 +1,6 @@
 # Vend::Interpolate - Interpret Interchange tags
 # 
-# $Id: Interpolate.pm,v 2.9.2.8 2001/11/27 16:45:03 jon Exp $
+# $Id: Interpolate.pm,v 2.9.2.9 2002/01/08 21:09:04 mheins Exp $
 #
 # Copyright (C) 1996-2001 Red Hat, Inc. <interchange@redhat.com>
 #
@@ -27,7 +27,7 @@
 require Exporter;
 @ISA = qw(Exporter);
 
-$VERSION = substr(q$Revision: 2.9.2.8 $, 10);
+$VERSION = substr(q$Revision: 2.9.2.9 $, 10);
 
 @EXPORT = qw (
 
@@ -4810,8 +4810,8 @@
 											:	pull_if($2)#ige;
 		1 while $run =~ s#$IB$QR{_param_if}$IE[-_]param\1\]#
 				  (defined $fh->{$3} ? $row->[$fh->{$3}] : '')
-				  					?	pull_if($5,$2,$4,$row->[$3])
-									:	pull_else($5,$2,$4,$row->[$3])#ige;
+				  					?	pull_if($5,$2,$4,$row->[$fh->{$3}])
+									:	pull_else($5,$2,$4,$row->[$fh->{$3}])#ige;
 	    $run =~ s#$B$QR{_param}#defined $fh->{$1} ? ed($row->[$fh->{$1}]) : ''#ige;
 		1 while $run =~ s#$IB$QR{_pos_if}$IE[-_]pos\1\]#
 				  $row->[$3]