From: Ivan Kohler Date: Tue, 7 Jan 2014 04:41:31 +0000 (-0800) Subject: fix RT::SystemUser bareword (vs. newer perl?) X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=d7006fb84965da14819c4ad3581fcb5e907a14d3 fix RT::SystemUser bareword (vs. newer perl?) --- 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;