[interchange-cvs] interchange - heins modified
lib/Vend/Interpolate.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Wed Dec 3 21:35:39 EST 2003
User: heins
Date: 2003-12-04 02:35:39 GMT
Modified: lib/Vend Interpolate.pm
Log:
* Fix minor unthread-safeness which would probably never bite.
Revision Changes Path
2.201 +3 -5 interchange/lib/Vend/Interpolate.pm
rev 2.201, prev_rev 2.200
Index: Interpolate.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Interpolate.pm,v
retrieving revision 2.200
retrieving revision 2.201
diff -u -r2.200 -r2.201
--- Interpolate.pm 3 Dec 2003 23:50:39 -0000 2.200
+++ Interpolate.pm 4 Dec 2003 02:35:39 -0000 2.201
@@ -1,6 +1,6 @@
# Vend::Interpolate - Interpret Interchange tags
#
-# $Id: Interpolate.pm,v 2.200 2003/12/03 23:50:39 jon Exp $
+# $Id: Interpolate.pm,v 2.201 2003/12/04 02:35:39 mheins Exp $
#
# Copyright (C) 2002-2003 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -28,7 +28,7 @@
require Exporter;
@ISA = qw(Exporter);
-$VERSION = substr(q$Revision: 2.200 $, 10);
+$VERSION = substr(q$Revision: 2.201 $, 10);
@EXPORT = qw (
@@ -4862,8 +4862,6 @@
return $page;
}
-my $List_it = 1;
-
sub tag_loop_list {
my ($list, $opt, $text) = @_;
@@ -4871,7 +4869,7 @@
my @rows;
$opt->{prefix} = 'loop' unless defined $opt->{prefix};
- $opt->{label} = "loop" . $List_it++ . $Global::Variable->{MV_PAGE}
+ $opt->{label} = "loop" . ++$::Instance->{List_it} . $Global::Variable->{MV_PAGE}
unless defined $opt->{label};
#::logDebug("list is: " . uneval($list) );
More information about the interchange-cvs
mailing list