X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fetc%2Fupgrade%2F3.8.9%2Fcontent;h=d7d64f599504fc256062f2ff5f7fb49ce36b553e;hb=0ea23112cfa0d82738b0f08d60d90579721b7524;hp=8a28f7dcedf72b34434cbd69826463cefddc8b23;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/etc/upgrade/3.8.9/content b/rt/etc/upgrade/3.8.9/content index 8a28f7dce..d7d64f599 100644 --- a/rt/etc/upgrade/3.8.9/content +++ b/rt/etc/upgrade/3.8.9/content @@ -10,7 +10,7 @@ my $found; do { $found = 0; - my $links = RT::Links->new( $RT::SystemUser ); + my $links = RT::Links->new( RT->SystemUser ); $links->Limit( FIELD => $dir, OPERATOR => 'STARTSWITH', VALUE => $prefix ); $links->Limit( FIELD => 'Local'.$dir, VALUE => 0 ); $links->Limit( @@ -56,6 +56,7 @@ s!(?<=Your ticket has been (?:approved|rejected) by { eval { )\$Approval->OwnerObj->Name!\$Approver->Name! ) { + $template->SetType('Perl'); $template->SetContent($content); } }