[Rt-commit] r12788 - rt/branches/3.8-TESTING/lib/RT/Interface

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Jun 2 10:39:56 EDT 2008


Author: sunnavy
Date: Mon Jun  2 10:39:52 2008
New Revision: 12788

Modified:
   rt/branches/3.8-TESTING/lib/RT/Interface/Web.pm

Log:
improved a regex

Modified: rt/branches/3.8-TESTING/lib/RT/Interface/Web.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Interface/Web.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Interface/Web.pm	Mon Jun  2 10:39:52 2008
@@ -424,7 +424,7 @@
             $create_args{$arg} = $ARGS{$arg};
         }
         # Object-RT::Ticket--CustomField-3-Values
-        elsif ( $arg =~ /^Object-RT::Ticket--CustomField-(\d+)(.*?)$/ ) {
+        elsif ( $arg =~ /^Object-RT::Ticket--CustomField-(\d+)/ ) {
             my $cfid = $1;
 
             my $cf = RT::CustomField->new( $session{'CurrentUser'} );


More information about the Rt-commit mailing list