Fix determination of reply_all usage
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 5 Feb 2010 20:09:10 +0000 (13:09 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 5 Feb 2010 20:09:10 +0000 (13:09 -0700)
imp/lib/Compose.php

index dfe8809..864b23e 100644 (file)
@@ -1415,7 +1415,7 @@ class IMP_Compose
                 }
             }
 
-            if (!empty($header['to']) || (count($hdr_cc) > 1)) {
+            if (empty($header['to']) || (count($hdr_cc) > 1)) {
                 $reply_type = 'reply_all';
             }
             $header[empty($header['to']) ? 'to' : 'cc'] = rtrim(implode('', $hdr_cc), ' ,');