projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcbb613
)
Fallback auf Sprache aus kivitendo.conf, falls vom Benutzer selektierte Sprache nicht...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 8 Nov 2012 11:55:11 +0000
(12:55 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 8 Nov 2012 11:55:11 +0000
(12:55 +0100)
SL/Auth.pm
patch
|
blob
|
history
diff --git
a/SL/Auth.pm
b/SL/Auth.pm
index
ddd8233
..
b9840fc
100644
(file)
--- a/
SL/Auth.pm
+++ b/
SL/Auth.pm
@@
-492,6
+492,9
@@
sub read_user {
# The XUL/XML backed menu has been removed.
$user_data{menustyle} = 'v3' if lc($user_data{menustyle} || '') eq 'xml';
+ # Set default language if selected language does not exist (anymore).
+ $user_data{countrycode} = $::lx_office_conf{system}->{language} unless $user_data{countrycode} && -d "locale/$user_data{countrycode}";
+
$sth->finish();
$main::lxdebug->leave_sub();