[Bps-public-commit] r9441 - RT-Extension-SLA/lib/RT/Condition
ruz at bestpractical.com
ruz at bestpractical.com
Wed Oct 24 17:21:18 EDT 2007
Author: ruz
Date: Wed Oct 24 17:21:18 2007
New Revision: 9441
Modified:
RT-Extension-SLA/lib/RT/Condition/SLA_RequireStartsSet.pm
Log:
* apply scrip only if SLA SF is applied to the ticket(queue)
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 Wed Oct 24 17:21:18 2007
@@ -18,8 +18,9 @@
sub IsApplicable {
my $self = shift;
return 0 if $self->TicketObj->StartsObj->Unix > 0;
+
+ return 0 unless $self->SLAIsApplied;
return 1;
}
1;
-
More information about the Bps-public-commit
mailing list