[Rt-commit] r5387 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Thu Jun 15 18:05:00 EDT 2006
Author: ruz
Date: Thu Jun 15 18:04:58 2006
New Revision: 5387
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/Forms/ticket/default
Log:
r3129 at cubic-pc (orig r5307): ruz | 2006-05-26 20:42:33 +0400
* vsplit Requestor, Cc and AdminCc field on create
Modified: rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/Forms/ticket/default
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/Forms/ticket/default (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/Forms/ticket/default Thu Jun 15 18:04:58 2006
@@ -145,6 +145,9 @@
}
}
+ # people fields allow multiple values
+ $v{$_} = vsplit($v{$_}) foreach ( grep $create{lc $_}, @people );
+
if ($text) {
$v{MIMEObj} =
MIME::Entity->build(
@@ -185,7 +188,7 @@
}
foreach $key (@people) {
- next unless (!%$fields || (exists $fields->{lc $key}));
+ next unless (!%$fields || (exists $fields->{lc $key}));
push @data, [ $key => [ $ticket->$key->MemberEmailAddresses ] ];
}
More information about the Rt-commit
mailing list