projects
/
evergreen-equinox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4971896
)
if no locale config is present in oils_web, assume en_US exists and is valid
author
berick
<berick@esilibrary.com>
Wed, 9 Feb 2011 17:29:26 +0000 (12:29 -0500)
committer
berick
<berick@esilibrary.com>
Wed, 9 Feb 2011 17:29:26 +0000 (12:29 -0500)
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
patch
|
blob
|
history
diff --git
a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
index
8f19a07
..
807af47
100644
(file)
--- a/
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
+++ b/
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
@@
-246,6
+246,8
@@
sub load_locale_handlers {
my $ctx = shift;
my $locales = $ctx->{locales};
+ $locales->{en_US} = {} unless exists $locales->{en_US};
+
for my $lang (keys %$locales) {
my $messages = $locales->{$lang};
$messages = '' if ref $messages; # empty {}