[Rt-commit] r18096 - in rt/3.999/branches/merge_to_3.8.2: bin
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Fri Jan 30 01:29:09 EST 2009
Author: sunnavy
Date: Fri Jan 30 01:29:09 2009
New Revision: 18096
Modified:
rt/3.999/branches/merge_to_3.8.2/ (props changed)
rt/3.999/branches/merge_to_3.8.2/bin/rt-mailgate
Log:
r19383 at sunnavys-mb: sunnavy | 2009-01-30 14:28:50 +0800
merged bin/rt-mailgate
Modified: rt/3.999/branches/merge_to_3.8.2/bin/rt-mailgate
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/bin/rt-mailgate (original)
+++ rt/3.999/branches/merge_to_3.8.2/bin/rt-mailgate Fri Jan 30 01:29:09 2009
@@ -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