From d7006fb84965da14819c4ad3581fcb5e907a14d3 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 6 Jan 2014 20:41:31 -0800 Subject: [PATCH] fix RT::SystemUser bareword (vs. newer perl?) --- httemplate/pref/pref-process.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0