[Rt-commit] rt branch, 4.0/web-forward-show-from, updated. rt-4.0.1rc1-7-g4e728fe
Alex Vandiver
alexmv at bestpractical.com
Thu Jul 28 16:21:46 EDT 2011
The branch, 4.0/web-forward-show-from has been updated
via 4e728fe880723297fe6a9800a0bc418e853ed46b (commit)
from a920952a6873c34f77c94170b409d2bb117e2169 (commit)
Summary of changes:
lib/RT/Interface/Email.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 4e728fe880723297fe6a9800a0bc418e853ed46b
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Thu Jul 28 16:21:23 2011 -0400
Fix direction of conditional
diff --git a/lib/RT/Interface/Email.pm b/lib/RT/Interface/Email.pm
index 96d07c2..b5260ec 100644
--- a/lib/RT/Interface/Email.pm
+++ b/lib/RT/Interface/Email.pm
@@ -782,7 +782,7 @@ sub GetForwardFrom {
my $txn = $args{Transaction};
my $ticket = $args{Ticket} || $txn->Object;
- unless ( RT->Config->Get('ForwardFromUser') ) {
+ if ( RT->Config->Get('ForwardFromUser') ) {
return ( $txn || $ticket )->CurrentUser->UserObj->EmailAddress;
}
else {
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list