Correct value of undefined hostname
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 10 Feb 2008 19:07:20 +0000 (19:07 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 10 Feb 2008 19:07:20 +0000 (19:07 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12933 7612ce4b-ef26-0410-bec9-ea0150e637f0

class/mime/Rfc822Header.class.php

index 8801bd84c2721d052dc7923c016c8acb4aa1a013..1c7bd897032ede5ab11d3f474578cc06d0ebb781 100644 (file)
@@ -609,7 +609,7 @@ class Rfc822Header {
                          $iPosAt = strpos($aAddr['email'], '@');
                          if ($iPosAt === FALSE) {
                              $oAddr->mailbox = $aAddr['email'];
                          $iPosAt = strpos($aAddr['email'], '@');
                          if ($iPosAt === FALSE) {
                              $oAddr->mailbox = $aAddr['email'];
-                             $oAddr->host = '';
+                             $oAddr->host = FALSE;
                          } else {
                              $oAddr->mailbox = substr($aAddr['email'], 0, $iPosAt);
                              $oAddr->host = substr($aAddr['email'], $iPosAt+1);
                          } else {
                              $oAddr->mailbox = substr($aAddr['email'], 0, $iPosAt);
                              $oAddr->host = substr($aAddr['email'], $iPosAt+1);