[Rt-devel] Re: [Rt-commit] r7482 - in rt/branches/3.7-EXPERIMENTAL:
.
Jesse Vincent
jesse at bestpractical.com
Mon Apr 9 17:50:35 EDT 2007
On Apr 9, 2007, at 5:48 PM, ruz at bestpractical.com wrote:
> Author: ruz
> Date: Mon Apr 9 17:48:37 2007
> New Revision: 7482
>
> Modified:
> rt/branches/3.7-EXPERIMENTAL/ (props changed)
> rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Email.pm
>
> Log:
> r4913 at cubic-pc: cubic | 2007-04-06 16:37:26 +0400
> * force scalar context
>
_why_ is scalar context important there? (It looks redundant and
iwthout a comment, someone is likely to 'fix' it later)
>
> 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 Mon Apr
> 9 17:48:37 2007
> @@ -270,6 +270,7 @@
> level => $args{'LogLevel'},
> message => $args{'Explanation'}
> ) if $args{'LogLevel'};
> +
> my $entity = MIME::Entity->build(
> Type => "multipart/mixed",
> From => $args{'From'},
> @@ -277,7 +278,7 @@
> To => $args{'To'},
> Subject => $args{'Subject'},
> Precedence => 'bulk',
> - 'X-RT-Loop-Prevention' => RT->Config->Get('rtname'),
> + 'X-RT-Loop-Prevention' => scalar RT->Config->Get('rtname'),
> 'In-Reply-To:' => $args{'MIMEObj'} ? $args
> {'MIMEObj'}->head->get('Message-Id') : undef,
> );
>
> _______________________________________________
> Rt-commit mailing list
> Rt-commit at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20070409/47ced0fa/PGP.pgp
More information about the Rt-devel
mailing list