[Rt-commit] r9247 - in rt/branches/3.7-EXPERIMENTAL: .
sartak at bestpractical.com
sartak at bestpractical.com
Mon Oct 8 22:18:53 EDT 2007
Author: sartak
Date: Mon Oct 8 22:18:52 2007
New Revision: 9247
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web.pm
Log:
r43474 at onn: sartak | 2007-10-08 22:18:38 -0400
Strip whitespace from MergeInto ticket ID (as requested by the inimitable doogles)
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web.pm Mon Oct 8 22:18:52 2007
@@ -1558,6 +1558,7 @@
#Merge if we need to
if ( $ARGSRef->{ $Ticket->Id . "-MergeInto" } ) {
+ $ARGSRef->{ $Ticket->Id . "-MergeInto" } =~ s/\s+//g;
my ( $val, $msg ) =
$Ticket->MergeInto( $ARGSRef->{ $Ticket->Id . "-MergeInto" } );
push @results, $msg;
More information about the Rt-commit
mailing list