[rt-commit] [svn] r572 - rt/trunk/html/User
jesse at fsck.com
jesse at fsck.com
Mon Mar 15 10:31:50 EST 2004
Author: jesse
Date: Mon Mar 15 10:31:50 2004
New Revision: 572
Modified:
rt/trunk/html/User/Prefs.html
Log:
Update to force language handle change when the user sets it
Modified: rt/trunk/html/User/Prefs.html
==============================================================================
--- rt/trunk/html/User/Prefs.html (original)
+++ rt/trunk/html/User/Prefs.html Mon Mar 15 10:31:50 2004
@@ -190,7 +190,10 @@
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, at fieldresults);
More information about the Rt-commit
mailing list