[interchange-cvs] interchange - heins modified lib/Vend/Util.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Sun Feb 12 17:23:58 EST 2006
User: heins
Date: 2006-02-12 22:23:58 GMT
Modified: lib/Vend Util.pm
Log:
* Actually change the currency keys in Locale when doing a currency
locale change.
Revision Changes Path
2.89 +7 -2 interchange/lib/Vend/Util.pm
rev 2.89, prev_rev 2.88
Index: Util.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Util.pm,v
retrieving revision 2.88
retrieving revision 2.89
diff -u -r2.88 -r2.89
--- Util.pm 22 Dec 2005 02:03:40 -0000 2.88
+++ Util.pm 12 Feb 2006 22:23:58 -0000 2.89
@@ -1,6 +1,6 @@
# Vend::Util - Interchange utility functions
#
-# $Id: Util.pm,v 2.88 2005/12/22 02:03:40 kwalsh Exp $
+# $Id: Util.pm,v 2.89 2006/02/12 22:23:58 mheins Exp $
#
# Copyright (C) 2002-2005 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -88,7 +88,7 @@
use Vend::File;
use subs qw(logError logGlobal);
use vars qw($VERSION @EXPORT @EXPORT_OK);
-$VERSION = substr(q$Revision: 2.88 $, 10);
+$VERSION = substr(q$Revision: 2.89 $, 10);
my $Eval_routine;
my $Eval_routine_file;
@@ -421,6 +421,11 @@
for(@Vend::Config::Locale_directives_currency) {
$Vend::Cfg->{$_} = $curr->{$_}
+ if defined $curr->{$_};
+ }
+
+ for(@Vend::Config::Locale_keys_currency) {
+ $Vend::Cfg->{Locale}{$_} = $curr->{$_}
if defined $curr->{$_};
}
}
More information about the interchange-cvs
mailing list