[Rt-commit] r7567 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Thu Apr 19 09:48:23 EDT 2007
Author: ruz
Date: Thu Apr 19 09:48:21 2007
New Revision: 7567
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Email.pm
Log:
r4990 at cubic-pc: cubic | 2007-04-19 17:46:57 +0400
* revert 'scalar' where it's not critical
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Email.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Email.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Email.pm Thu Apr 19 09:48:21 2007
@@ -278,7 +278,7 @@
To => $args{'To'},
Subject => $args{'Subject'},
Precedence => 'bulk',
- 'X-RT-Loop-Prevention' => scalar RT->Config->Get('rtname'),
+ 'X-RT-Loop-Prevention' => RT->Config->Get('rtname'),
'In-Reply-To:' => $args{'MIMEObj'} ? $args{'MIMEObj'}->head->get('Message-Id') : undef,
);
@@ -1210,7 +1210,7 @@
# Notify the RT Admin of the failure.
MailError(
- To => scalar RT->Config->Get('OwnerEmail'),
+ To => RT->Config->Get('OwnerEmail'),
Subject => "Could not load a valid user",
Explanation => <<EOT,
RT could not load a valid user, and RT's configuration does not allow
More information about the Rt-commit
mailing list