[Rt-commit] r5297 - in rt/branches/3.5-TESTING:
html/REST/1.0/Forms/ticket
jesse at bestpractical.com
jesse at bestpractical.com
Fri May 26 00:11:23 EDT 2006
Author: jesse
Date: Fri May 26 00:11:22 2006
New Revision: 5297
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/html/REST/1.0/Forms/ticket/default
Log:
r9830 at jesse-vincents-computer-2: jesse | 2006-05-25 23:18:44 -0400
Stopped using a deprecated API
Modified: rt/branches/3.5-TESTING/html/REST/1.0/Forms/ticket/default
==============================================================================
--- rt/branches/3.5-TESTING/html/REST/1.0/Forms/ticket/default (original)
+++ rt/branches/3.5-TESTING/html/REST/1.0/Forms/ticket/default Fri May 26 00:11:22 2006
@@ -205,8 +205,9 @@
}
# Display custom fields
- my $CustomFields = $ticket->QueueObj->CustomFields();
+ my $CustomFields = $ticket->QueueObj->TicketCustomFields();
while (my $cf = $CustomFields->Next()) {
+ next unless (!%$fields || (exists $fields->{"cf-".lc $cf->Name}));
my $vals = $ticket->CustomFieldValues($cf->Id());
my @out = ();
while (my $v = $vals->Next()) {
More information about the Rt-commit
mailing list