[Rt-commit] rt branch, 3.999-trunk, updated. 055c61a865f2eaf8b80e3e24dd2901339e31fa79

? sunnavy sunnavy at bestpractical.com
Tue Apr 6 03:22:02 EDT 2010


The branch, 3.999-trunk has been updated
       via  055c61a865f2eaf8b80e3e24dd2901339e31fa79 (commit)
      from  665f1e591dce53fd4ec1dc3fa7f8c2cc3c7bb63e (commit)

Summary of changes:
 lib/RT/Action/ConfigMyRT.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 055c61a865f2eaf8b80e3e24dd2901339e31fa79
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Apr 6 15:22:18 2010 +0800

    regex tweak

diff --git a/lib/RT/Action/ConfigMyRT.pm b/lib/RT/Action/ConfigMyRT.pm
index 73aa339..4363877 100644
--- a/lib/RT/Action/ConfigMyRT.pm
+++ b/lib/RT/Action/ConfigMyRT.pm
@@ -94,7 +94,7 @@ sub take_action {
 
         my $content = $self->default_value || {};
         for my $arg ( $self->argument_names ) {
-            next unless ( $arg =~ /^body|summary$/ );
+            next unless $arg =~ /^(?:body|summary)$/;
             my $value = $self->argument_value($arg);
 
             my @panes;

-----------------------------------------------------------------------


More information about the Rt-commit mailing list