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