[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-cvs
Subject:    [SM-CVS] SF.net SVN: squirrelmail:[14377] branches/SM-1_4-STABLE/squirrelmail/src/ compose.php
From:       pdontthink () users ! sourceforge ! net
Date:       2013-06-17 20:20:22
Message-ID: E1Uofuc-00019R-Ti () sfs-ml-2 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 14377
          http://sourceforge.net/p/squirrelmail/code/14377
Author:   pdontthink
Date:     2013-06-17 20:20:22 +0000 (Mon, 17 Jun 2013)
Log Message:
-----------
Reply to original recipient functionality should be consistent, even if original \
recipient also happens to be one of our identities

Modified Paths:
--------------
    branches/SM-1_4-STABLE/squirrelmail/src/compose.php

Modified: branches/SM-1_4-STABLE/squirrelmail/src/compose.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/src/compose.php	2013-06-17 20:19:59 UTC (rev \
                14376)
+++ branches/SM-1_4-STABLE/squirrelmail/src/compose.php	2013-06-17 20:20:22 UTC (rev \
14377) @@ -934,25 +934,11 @@
                     }
 
                     // if the reply was addressed back to ourselves,
-                    // we will send it to the TO of the previous message,
-                    // first making sure that that address wasn't also
-                    // one of our identities
+                    // we will send it to the TO of the previous message
                     //
                     if (!empty($orig_to)) {
 
-                        foreach($idents as $id) {
-                            if (!empty($id['email_address'])
-                             && strpos($orig_to, $id['email_address']) !== FALSE) {
-                                $orig_to = '';
-                                break;
-                            }
-                        }
-
-                        // if $orig_to still not empty, we can use it
-                        //
-                        if (!empty($orig_to)) {
-                            $send_to = $orig_to;
-                        }
+                        $send_to = $orig_to;
                     }
 
                 }

This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@lists.sourceforge.net
List info (subscribe/unsubscribe/change options): \
                https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic