[interchange-cvs] [SCM] Interchange branch, master, updated. 56c35b2860b0cb1b33493ae25d122d3eaf5901c9

Jon Jensen interchange-cvs at icdevgroup.org
Sat Jun 6 23:18:04 UTC 2009


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Interchange".

The branch, master has been updated
       via  56c35b2860b0cb1b33493ae25d122d3eaf5901c9 (commit)
      from  ccfcbf9dc5b114b3f9e66aa39a2141c41eea348f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 56c35b2860b0cb1b33493ae25d122d3eaf5901c9
Author: René Hertell <interchange at hertell.com>
Date:   Sat Jun 6 23:04:46 2009 +0300

    Fix "if" tag to handle evalue as a named parameter
    
    e.g.
    
    [if type="evalue" term="foo" op="eq" compare="bar"]
    
    Signed-off-by: Jon Jensen <jon at endpoint.com>
    
    (Jon's comment: It's not really using the escaped value in the comparison,
    but I think that's ok given the context. It's strictly a synonym for value,
    for developer convenience.)

-----------------------------------------------------------------------

Summary of changes and diff:
 lib/Vend/Interpolate.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/Vend/Interpolate.pm b/lib/Vend/Interpolate.pm
index 342c924..56ad4e7 100644
--- a/lib/Vend/Interpolate.pm
+++ b/lib/Vend/Interpolate.pm
@@ -993,7 +993,7 @@ sub conditional {
 				if defined $comp;
 		delete $::Scratch->{$term};
 	}
-	elsif($base =~ /^value/) {
+	elsif($base =~ /^e?value/) {
 		$op =	qq%$::Values->{$term}%;
 		$op = "q{$op}" unless defined $noop;
 		$op .=	qq%	$operator $comp%


hooks/post-receive
-- 
Interchange



More information about the interchange-cvs mailing list