
interchange-cvs at icdevgroup
Apr 22, 2008, 8:16 PM
Post #1 of 1
(56 views)
Permalink
|
|
interchange - pajamian modified 2 files
|
|
User: pajamian Date: 2008-04-23 03:16:23 GMT Modified: . WHATSNEW-5.5 Modified: lib/Vend Interpolate.pm Log: Fixed bug where previous rows values were left in $Row if [loop] is iterated with [PREFIX-next]. Revision Changes Path 1.105 interchange/WHATSNEW-5.5 rev 1.105, prev_rev 1.104 Index: WHATSNEW-5.5 =================================================================== RCS file: /var/cvs/interchange/WHATSNEW-5.5,v retrieving revision 1.104 retrieving revision 1.105 diff -u -r1.104 -r1.105 --- WHATSNEW-5.5 17 Apr 2008 15:48:12 -0000 1.104 +++ WHATSNEW-5.5 23 Apr 2008 03:16:23 -0000 1.105 @@ -113,6 +113,9 @@ * Fail gracefully on bad searches (#164). +* Fix bug where previous rows values were left in $Row if [loop] was iterated + with [PREFIX-next]. + UserTag ------- 2.300 interchange/lib/Vend/Interpolate.pm rev 2.300, prev_rev 2.299 Index: Interpolate.pm =================================================================== RCS file: /var/cvs/interchange/lib/Vend/Interpolate.pm,v retrieving revision 2.299 retrieving revision 2.300 diff -u -r2.299 -r2.300 --- Interpolate.pm 17 Apr 2008 22:50:33 -0000 2.299 +++ Interpolate.pm 23 Apr 2008 03:16:23 -0000 2.300 @@ -1,6 +1,6 @@ # Vend::Interpolate - Interpret Interchange tags # -# $Id: Interpolate.pm,v 2.299 2008-04-17 22:50:33 jon Exp $ +# $Id: Interpolate.pm,v 2.300 2008-04-23 03:16:23 pajamian 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.299 $, 10); +$VERSION = substr(q$Revision: 2.300 $, 10); @EXPORT = qw ( @@ -4240,7 +4240,7 @@ } '' #ixge; $run =~ s#$B$QR{_next}$E$QR{'/_next'}# - $Ary_code{next}->($1) != 0 ? next : '' #ixge; + $Ary_code{next}->($1) != 0 ? (undef $Row, next) : '' #ixge; $run =~ s/<option\s*/<option SELECTED /i if $opt_select and $opt_select->($code); undef $Row; _______________________________________________ interchange-cvs mailing list interchange-cvs[at]icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-cvs
|