[Bps-public-commit] r9451 - RT-Extension-SLA/lib/RT/Condition

ruz at bestpractical.com ruz at bestpractical.com
Thu Oct 25 01:44:42 EDT 2007


Author: ruz
Date: Thu Oct 25 01:44:41 2007
New Revision: 9451

Modified:
   RT-Extension-SLA/lib/RT/Condition/SLA_RequireStartsSet.pm

Log:
* set Starts only when service level is set

Modified: RT-Extension-SLA/lib/RT/Condition/SLA_RequireStartsSet.pm
==============================================================================
--- RT-Extension-SLA/lib/RT/Condition/SLA_RequireStartsSet.pm	(original)
+++ RT-Extension-SLA/lib/RT/Condition/SLA_RequireStartsSet.pm	Thu Oct 25 01:44:41 2007
@@ -18,8 +18,7 @@
 sub IsApplicable {
     my $self = shift;
     return 0 if $self->TicketObj->StartsObj->Unix > 0;
-
-    return 0 unless $self->SLAIsApplied;
+    return 0 unless $self->TicketObj->FirstCustomFieldValue('SLA');
     return 1;
 }
 



More information about the Bps-public-commit mailing list