[Rt-commit] r9100 - rt/branches/3.6-RELEASE/html/REST/1.0/Forms/ticket

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Sep 20 02:55:34 EDT 2007


Author: sunnavy
Date: Thu Sep 20 02:55:33 2007
New Revision: 9100

Modified:
   rt/branches/3.6-RELEASE/html/REST/1.0/Forms/ticket/default

Log:
remove buggy whitespaces following a comma

Modified: rt/branches/3.6-RELEASE/html/REST/1.0/Forms/ticket/default
==============================================================================
--- rt/branches/3.6-RELEASE/html/REST/1.0/Forms/ticket/default	(original)
+++ rt/branches/3.6-RELEASE/html/REST/1.0/Forms/ticket/default	Thu Sep 20 02:55:33 2007
@@ -317,7 +317,7 @@
                 while (my $v = $vals->Next()) {
                     $v->Delete();
                 }
-                for ( split /,/, $val ) {
+                for ( split /,\s*/, $val ) {
                     ($n, $s) = $ticket->AddCustomFieldValue(
                              Field => $cf, Value => $_ );
                     $s =~ s/^# // if defined $s;


More information about the Rt-commit mailing list