[rt-commit] [svn] r575 - rt/trunk/lib/RT
jesse at fsck.com
jesse at fsck.com
Mon Mar 15 10:59:00 EST 2004
Author: jesse
Date: Mon Mar 15 10:58:59 2004
New Revision: 575
Modified:
rt/trunk/lib/RT/Ticket_Overlay.pm
Log:
A fix from Ruslan for getting values for a named CF if that CF is global.
Modified: rt/trunk/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/trunk/lib/RT/Ticket_Overlay.pm (original)
+++ rt/trunk/lib/RT/Ticket_Overlay.pm Mon Mar 15 10:58:59 2004
@@ -3462,6 +3462,9 @@
$cf->LoadById($field);
} else {
$cf->LoadByNameAndQueue(Name => $field, Queue => $self->QueueObj->Id);
+ unless( $cf->id ) {
+ $cf->LoadByNameAndQueue(Name => $field, Queue => '0');
+ }
}
my $cf_values = RT::TicketCustomFieldValues->new( $self->CurrentUser );
$cf_values->LimitToCustomField($cf->id);
More information about the Rt-commit
mailing list