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:
7bd555b
)
Das globale Locale-Objekt im Fehlerfall neu initialisieren; das lokale wurde nicht...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 1 Feb 2010 12:18:50 +0000
(13:18 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 20 Jul 2010 08:25:17 +0000
(10:25 +0200)
SL/Dispatcher.pm
patch
|
blob
|
history
diff --git
a/SL/Dispatcher.pm
b/SL/Dispatcher.pm
index
2599f5f
..
6254dce
100644
(file)
--- a/
SL/Dispatcher.pm
+++ b/
SL/Dispatcher.pm
@@
-33,7
+33,7
@@
sub show_error {
$::lxdebug->enter_sub;
my $template = shift;
my $error_type = shift || '';
-
my $locale
= Locale->new($::language, 'all');
+
$::locale
= Locale->new($::language, 'all');
$::form->{error} = $::locale->text('The session is invalid or has expired.') if ($error_type eq 'session');
$::form->{error} = $::locale->text('Incorrect password!.') if ($error_type eq 'password');
$::myconfig{countrycode} = $::language;