Minor bug fix, just a misspelled variable
authorcigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 28 Oct 2004 05:17:41 +0000 (05:17 +0000)
committercigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 28 Oct 2004 05:17:41 +0000 (05:17 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8261 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_messages.php

index a9011edcf33ea76c6eda34c65d94647f06ca646a..2a0e4e537553e0fd32116304096cbb6e7e8cf0ef 100755 (executable)
@@ -831,7 +831,7 @@ function sqimap_parse_envelope($read, &$i, &$msg) {
     if (count($arg_a) > 9) {
         $d = strtr($arg_a[0], array('  ' => ' '));
         $d = explode(' ', $d);
-        if (!$arg_a[1]) $arg_1[1] = '';
+        if (!$arg_a[1]) $arg_a[1] = '';
         $msg['DATE'] = $d; /* argument 1: date */
         $msg['SUBJECT'] = $arg_a[1];     /* argument 2: subject */
         $msg['FROM'] = is_array($arg_a[2]) ? $arg_a[2][0] : '';     /* argument 3: from        */