Browse Source

Correct value of undefined hostname

pdontthink 17 years ago
parent
commit
62ea6e4a60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      class/mime/Rfc822Header.class.php

+ 1 - 1
class/mime/Rfc822Header.class.php

@@ -609,7 +609,7 @@ class Rfc822Header {
                          $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);