summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-01-06 20:41:31 -0800
committerIvan Kohler <ivan@freeside.biz>2014-01-06 20:41:31 -0800
commitd7006fb84965da14819c4ad3581fcb5e907a14d3 (patch)
treea5da3270511b84d28471f59e7a1822441a7a39ab
parent98c89189ba04ba86d74a3bb36f1d2481ec3f10ca (diff)
fix RT::SystemUser bareword (vs. newer perl?)
-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 7edf8921c..7848b72cb 100644
--- a/httemplate/pref/pref-process.html
+++ b/httemplate/pref/pref-process.html
@@ -84,7 +84,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;