[interchange] Fix usertag override check silently ignoring usertag routines specified by MapRoutine.

Stefan Hornburg interchange-cvs at icdevgroup.org
Wed Jul 14 08:49:38 UTC 2010


commit 9be6bd1a4f352d5cb7eb461faa28c22edff09b08
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Wed Jul 14 10:44:40 2010 +0200

    Fix usertag override check silently ignoring usertag routines specified by MapRoutine.

 lib/Vend/Config.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/Vend/Config.pm b/lib/Vend/Config.pm
index 5eeb75f..b36420d 100644
--- a/lib/Vend/Config.pm
+++ b/lib/Vend/Config.pm
@@ -5140,7 +5140,7 @@ sub parse_tag {
 				)
 			);
 		}
-		if (defined $C && defined $Global::UserTag->{Source}->{$tag}->{$p}){
+		if (defined $C && defined $Global::UserTag->{Routine}->{$tag}){
 			config_warn(
 				errmsg(
 					"Local usertag %s overrides global definition",



More information about the interchange-cvs mailing list