[Rt-commit] r16254 - in rt/branches/3.999-DANGEROUS: lib/RT/Action
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Oct 9 03:54:36 EDT 2008
Author: sunnavy
Date: Thu Oct 9 03:54:36 2008
New Revision: 16254
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/lib/RT/Action/CreateTicketLinks.pm
Log:
r17082 at sunnavys-mb: sunnavy | 2008-10-09 14:58:38 +0800
tiny improve
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Action/CreateTicketLinks.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Action/CreateTicketLinks.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Action/CreateTicketLinks.pm Thu Oct 9 03:54:36 2008
@@ -45,7 +45,7 @@
for my $field ( keys %map ) {
my $type = renaming( $field, { convention => 'UpperCamelCase' } );
- for my $value ( split / /, $self->argument_value($field) ) {
+ for my $value ( split /\s+/, $self->argument_value($field) ) {
next unless $value;
my ( $val, $msg ) = $ticket->add_link(
target => $value,
@@ -53,7 +53,7 @@
);
$self->result->content('detailed_messages')->{$field} .= $msg;
}
- for my $value ( split / /, $self->argument_value( $map{$field} ) ) {
+ for my $value ( split /\s+/, $self->argument_value( $map{$field} ) ) {
next unless $value;
my ( $val, $msg ) = $ticket->add_link(
base => $value,
More information about the Rt-commit
mailing list