[SCM] Interchange branch, master, updated. 56c35b2860b0cb1b33493ae25d122d3eaf5901c9

Jon Jensen <[email protected]>
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
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 <[email protected]>
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 <[email protected]>
    
    (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

_______________________________________________
interchange-cvs mailing list
[email protected]
http://www.icdevgroup.org/mailman/listinfo/interchange-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.