summaryrefslogtreecommitdiff
path: root/httemplate/pref/pref-process.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/pref/pref-process.html')
-rw-r--r--httemplate/pref/pref-process.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/pref/pref-process.html b/httemplate/pref/pref-process.html
index 70f667618..8a826a7ae 100644
--- a/httemplate/pref/pref-process.html
+++ b/httemplate/pref/pref-process.html
@@ -83,7 +83,7 @@ if ( !$error and ($FS::TicketSystem::system || '') eq 'RT_Internal' ) {
FS::TicketSystem->init;
my $UserObj = FS::TicketSystem->session('')->{'CurrentUser'}->UserObj;
# Bypass RT ModifySelf ACL
- $UserObj->CurrentUser( RT::SystemUser );
+ $UserObj->CurrentUser( $RT::SystemUser );
if ( $UserObj->Lang ne $locale ) {
my ($val, $msg) = $UserObj->SetLang($locale);
$error = $msg if !$val;