projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
optimize customer list, RT#20173
[freeside.git]
/
FS
/
FS
/
Msgcat.pm
diff --git
a/FS/FS/Msgcat.pm
b/FS/FS/Msgcat.pm
index
ce0fa78
..
b6f36bf
100644
(file)
--- a/
FS/FS/Msgcat.pm
+++ b/
FS/FS/Msgcat.pm
@@
-61,7
+61,7
@@
sub _gettext {
return '' unless defined($msgcode) && length($msgcode) > 0;
my $locale = (@_ && shift)
return '' unless defined($msgcode) && length($msgcode) > 0;
my $locale = (@_ && shift)
- || $FS::CurrentUser::CurrentUser->
option('locale')
+ || $FS::CurrentUser::CurrentUser->
locale
|| $def_locale;
return $cache{$locale}->{$msgcode} if exists $cache{$locale}->{$msgcode};
|| $def_locale;
return $cache{$locale}->{$msgcode} if exists $cache{$locale}->{$msgcode};