[interchange] Fix regression on formerly working ActionMaps with hyphen in ActionMap directive,

Stefan Hornburg interchange-cvs at icdevgroup.org
Mon May 31 14:31:13 UTC 2010


commit 6c81858c858fc23d7930f6435df18f4ffeccc1ff
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Mon May 31 16:28:38 2010 +0200

    Fix regression on formerly working ActionMaps with hyphen in ActionMap directive,
    caused by commit a9224c0af3554f4b99b7237d36f1be501131e2ad.

 lib/Vend/Config.pm |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/Vend/Config.pm b/lib/Vend/Config.pm
index 8df529a..e39ee09 100644
--- a/lib/Vend/Config.pm
+++ b/lib/Vend/Config.pm
@@ -2173,6 +2173,8 @@ sub parse_action {
 	}
 	my ($name, $sub) = split /\s+/, $value, 2;
 
+	$name =~ s/-/_/g;
+	
 	## Determine if we are in a catalog config, and if 
 	## perl should be global and/or strict
 	my $nostrict;



More information about the interchange-cvs mailing list