[Rt-commit] r17195 - in rt/3.8/trunk: .
sartak at bestpractical.com
sartak at bestpractical.com
Fri Dec 12 15:53:01 EST 2008
Author: sartak
Date: Fri Dec 12 15:53:00 2008
New Revision: 17195
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/bin/rt-mailgate.in
Log:
r77084 at onn: sartak | 2008-12-12 15:52:49 -0500
"Since action is required (or at least documented as such) it seems that
--action correspond --extension action should default to an action of
correspond for messages without an extension." Patch by Jerrad Pierce, rt3.fsck.com #11275
Modified: rt/3.8/trunk/bin/rt-mailgate.in
==============================================================================
--- rt/3.8/trunk/bin/rt-mailgate.in (original)
+++ rt/3.8/trunk/bin/rt-mailgate.in Fri Dec 12 15:53:00 2008
@@ -89,7 +89,7 @@
};
if ( ($opts{'extension'} || '') =~ /^(?:action|queue|ticket)$/i ) {
- $args{ lc $opts{'extension'} } = $ENV{'EXTENSION'};
+ $args{ lc $opts{'extension'} } = $ENV{'EXTENSION'} || $opts{$opts{'extension'}};
} elsif ( $opts{'extension'} && $ENV{'EXTENSION'} ) {
print STDERR "Value of the --extension argument is not action, queue or ticket"
.", but environment variable EXTENSION is also defined. The former is ignored.\n";
More information about the Rt-commit
mailing list