[Rt-commit] r18809 - rt/3.999/trunk/lib/RT/ScripAction
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Mon Mar 16 09:03:06 EDT 2009
Author: sunnavy
Date: Mon Mar 16 09:03:05 2009
New Revision: 18809
Modified:
rt/3.999/trunk/lib/RT/ScripAction/Notify.pm
Log:
fix Nofity.pm for the previous refactor
Modified: rt/3.999/trunk/lib/RT/ScripAction/Notify.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/ScripAction/Notify.pm (original)
+++ rt/3.999/trunk/lib/RT/ScripAction/Notify.pm Mon Mar 16 09:03:05 2009
@@ -171,7 +171,7 @@
if $skip;
# merge mandatory
- @{ $recipients{ $type } } = grep defined && length, @{ delete $recipients{ "mandatory_$type" } };
+ push @{ $recipients{ $type } }, grep defined && length, @{ delete $recipients{ "mandatory_$type" } };
# skip duplicates
@{ $recipients{ $type } } = grep !$seen{ lc $_ }++, @{ $recipients{ $type } };
@@ -191,7 +191,7 @@
}
-my $re_entry = qr{(?:(ticket|queue)\s+)?([^,])+?(?:\s+as\s+(to|cc|bcc))?}i;
+my $re_entry = qr{(?:(ticket|queue)\s+)?([^,]+?)(?:\s+as\s+(to|cc|bcc))?}i;
sub parse_argument {
my $self = shift;
More information about the Rt-commit
mailing list