fix RT::SystemUser bareword (vs. newer perl?)
authorIvan Kohler <ivan@freeside.biz>
Tue, 7 Jan 2014 04:41:31 +0000 (20:41 -0800)
committerIvan Kohler <ivan@freeside.biz>
Tue, 7 Jan 2014 04:41:31 +0000 (20:41 -0800)
httemplate/pref/pref-process.html

index 7edf892..7848b72 100644 (file)
@@ -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;