diff options
author | ivan <ivan> | 2004-11-11 12:13:50 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-11-11 12:13:50 +0000 |
commit | c582e92888b4a5553e1b4e5214cf35217e4a0cf0 (patch) | |
tree | 3fe7cd7bf22bd356b478f0de0dd8f0b140fcee23 /rt/html/User/Prefs.html | |
parent | 289340780927b5bac2c7604d7317c3063c6dd8cc (diff) |
import rt 3.0.12
Diffstat (limited to 'rt/html/User/Prefs.html')
-rw-r--r-- | rt/html/User/Prefs.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/rt/html/User/Prefs.html b/rt/html/User/Prefs.html index c2746a38c..68f12b81e 100644 --- a/rt/html/User/Prefs.html +++ b/rt/html/User/Prefs.html @@ -157,7 +157,7 @@ </TABLE> -<& /Elements/Submit &> +<& /Elements/Submit, Label => loc('Save Preferences') &> </form> @@ -190,7 +190,10 @@ if ($UserObj->Id) { my @fieldresults = UpdateRecordObject ( AttributesRef => \@fields, Object => $UserObj, ARGSRef => \%ARGS ); - $session{'CurrentUser'}->LanguageHandle($Lang) if $Lang; + if ($Lang) { + $session{'CurrentUser'}->LanguageHandle($Lang); + $session{'CurrentUser'}= $session{'CurrentUser'}; # Force writeback + } push (@results,@fieldresults); |