[Rt-commit] r5789 - in RT-Extension-CommandByEmail: .
kevinr at bestpractical.com
kevinr at bestpractical.com
Mon Aug 21 23:12:57 EDT 2006
Author: kevinr
Date: Mon Aug 21 23:12:56 2006
New Revision: 5789
Modified:
RT-Extension-CommandByEmail/ (props changed)
RT-Extension-CommandByEmail/lib/RT/Interface/Email/Filter/TakeAction.pm
Log:
r25584 at SAD-GIRL-IN-SNOW: kevinr | 2006-08-21 23:12:01 -0400
* Ignore empty leading lines.
Modified: RT-Extension-CommandByEmail/lib/RT/Interface/Email/Filter/TakeAction.pm
==============================================================================
--- RT-Extension-CommandByEmail/lib/RT/Interface/Email/Filter/TakeAction.pm (original)
+++ RT-Extension-CommandByEmail/lib/RT/Interface/Email/Filter/TakeAction.pm Mon Aug 21 23:12:56 2006
@@ -176,6 +176,7 @@
my @items;
foreach my $line (@content) {
+ next if $line =~ /^\s*$/;
last if $line !~ /^(?:(\S+)\s*?:\s*?(.*)\s*?|)$/;
push( @items, $1 => $2 );
}
More information about the Rt-commit
mailing list