oops, Rfc822Header->mailbox was initialized
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 27 Dec 2002 14:38:10 +0000 (14:38 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 27 Dec 2002 14:38:10 +0000 (14:38 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4315 7612ce4b-ef26-0410-bec9-ea0150e637f0

class/mime/Rfc822Header.class.php

index f4db5a0294d3dd4e6c03dce8228928de7f80db60..00cda0e383ff7cb26dc3cbf0d89cbdc3e36f6b0d 100644 (file)
@@ -278,7 +278,7 @@ class Rfc822Header {
                                }
                            }
                        }
-                       if (!isset($addr_structure->mailbox)) {
+                       if (!$addr_structure->mailbox) {
                            $addr_structure->mailbox = trim($addr);
                            if ($host) {
                                $addr_structure->host = $host;
@@ -338,7 +338,7 @@ class Rfc822Header {
                    }
                }
            }
-           if (!isset($addr_structure->mailbox)) {
+           if (!$addr_structure->mailbox) {
                 $addr_structure->mailbox = trim($addr);
                if ($host) {
                    $addr_structure->host = $host;