X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FApproval%2FRule%2FPassed.pm;h=666a4f2a27ada3b3e4e546e2b4ebd7cfb4ca421c;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=000a8dc62f9f735ecbcc0c7b3d5d05533560ae9a;hpb=431c9ca4fab151862bd24322bf8a1f9252fb38fc;p=freeside.git diff --git a/rt/lib/RT/Approval/Rule/Passed.pm b/rt/lib/RT/Approval/Rule/Passed.pm index 000a8dc62..666a4f2a2 100644 --- a/rt/lib/RT/Approval/Rule/Passed.pm +++ b/rt/lib/RT/Approval/Rule/Passed.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -96,7 +96,7 @@ sub Commit { $top->Correspond( MIMEObj => $template->MIMEObj ); if ($passed) { - my $new_status = $top->QueueObj->Lifecycle->DefaultStatus('approved') || 'open'; + my $new_status = $top->LifecycleObj->DefaultStatus('approved') || 'open'; if ( $new_status ne $top->Status ) { $top->SetStatus( $new_status ); }