[Bps-public-commit] r9438 - RT-Extension-SLA/lib/RT/Action

ruz at bestpractical.com ruz at bestpractical.com
Wed Oct 24 17:18:11 EDT 2007


Author: ruz
Date: Wed Oct 24 17:18:11 2007
New Revision: 9438

Modified:
   RT-Extension-SLA/lib/RT/Action/SLA_SetDue.pm

Log:
* add $ticket that is used

Modified: RT-Extension-SLA/lib/RT/Action/SLA_SetDue.pm
==============================================================================
--- RT-Extension-SLA/lib/RT/Action/SLA_SetDue.pm	(original)
+++ RT-Extension-SLA/lib/RT/Action/SLA_SetDue.pm	Wed Oct 24 17:18:11 2007
@@ -33,6 +33,8 @@
 sub Commit {
     my $self = shift;
 
+    my $ticket = $self->TicketObj;
+
     my $level = $ticket->FirstCustomFieldValue('SLA');
     unless ( $level ) {
         $RT::Logger->debug('Ticket #'. $ticket->id .' has no service level defined, skip setting Starts');



More information about the Bps-public-commit mailing list