~cldunlap1/ubuntu/quantal/ciderwebmail/typo-fix

« back to all changes in this revision

Viewing changes to lib/CiderWebmail/Controller/Message.pm

  • Committer: Package Import Robot
  • Author(s): Jonas Smedegaard
  • Date: 2012-06-10 22:29:53 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120610222953-94v7e2kcjvtbc8re
Tags: 1.04~20120610-2
* Initial packaging release for unstable.
* Fix adjust symlink to mootools.
* Fix syntac of PSGI (Catalyst documentation is wrong).
* Add README.Debian documenting ways to deploy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
262
262
    my @recipients;
263
263
 
264
264
    if ($who eq 'sender') {
265
 
        my $recipient = ($part->reply_to or $part->from);
 
265
        my $reply_to = $part->reply_to;
 
266
        my $recipient = (($reply_to and @$reply_to) ? $reply_to : $part->from);
266
267
        @recipients = $recipient->[0]->address if @$recipient and $recipient->[0];
267
268
    } elsif ($who eq 'all') {
268
269
        foreach( ( ( $part->reply_to or $part->from ), $part->cc, $part->to ) ) {