[Rt-commit] r12834 - in rt/branches/3.8-TESTING: .
elacour at bestpractical.com
elacour at bestpractical.com
Tue Jun 3 12:11:19 EDT 2008
Author: elacour
Date: Tue Jun 3 12:11:15 2008
New Revision: 12834
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/lib/RT/Tickets_Overlay.pm
Log:
r9110 at datura: manu | 2008-06-03 07:57:21 +0200
Fixed case when CFs count == 1
Modified: rt/branches/3.8-TESTING/lib/RT/Tickets_Overlay.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Tickets_Overlay.pm (original)
+++ rt/branches/3.8-TESTING/lib/RT/Tickets_Overlay.pm Tue Jun 3 12:11:15 2008
@@ -1145,7 +1145,7 @@
$cfs->LimitToLookupType('RT::Queue-RT::Ticket');
my $count = $cfs->Count;
- if ($count > 1) { $cf = $cfs->First}
+ if ($count >= 1) { $cf = $cfs->First}
elsif ($count == 0 ) { $cf = undef }
}
More information about the Rt-commit
mailing list