[freeside-commits] freeside/httemplate/pref pref-process.html, 1.20, 1.20.2.1
Mark Wells
mark at wavetail.420.am
Thu Jul 28 15:04:56 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/pref
In directory wavetail.420.am:/tmp/cvs-serv18809/httemplate/pref
Modified Files:
Tag: FREESIDE_2_3_BRANCH
pref-process.html
Log Message:
fix spurious RT error when not changing language
Index: pref-process.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/pref/pref-process.html,v
retrieving revision 1.20
retrieving revision 1.20.2.1
diff -u -w -d -r1.20 -r1.20.2.1
--- pref-process.html 29 Jun 2011 19:36:34 -0000 1.20
+++ pref-process.html 28 Jul 2011 22:04:54 -0000 1.20.2.1
@@ -80,7 +80,9 @@
my $UserObj = FS::TicketSystem->session('')->{'CurrentUser'}->UserObj;
# Bypass RT ModifySelf ACL
$UserObj->CurrentUser( RT::SystemUser );
+ if ( $UserObj->Lang ne $locale ) {
my ($val, $msg) = $UserObj->SetLang($locale);
$error = $msg if !$val;
}
+}
</%init>
More information about the freeside-commits
mailing list