summaryrefslogtreecommitdiff
path: root/httemplate/pref
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-01-06 20:41:32 -0800
committerIvan Kohler <ivan@freeside.biz>2014-01-06 20:41:32 -0800
commit3edb5935b6ecc1194c53d16002f018caab039f5d (patch)
tree5a787b3c8ee87e1c4f0117aaef8666d84127324b /httemplate/pref
parent98b36380fd09ade523de7046e0c67e3e9b35de03 (diff)
fix RT::SystemUser bareword (vs. newer perl?)
Diffstat (limited to 'httemplate/pref')
-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;