whoops, i submitted the wrong compose. :)
[squirrelmail.git] / src / compose.php
index 660752290e6574a04506e2d94738768e210c7e7b..a1e43f78b0b3eccf959d9ee767b98369b8ee3c71 100644 (file)
       is_logged_in();
       displayPageHeader($color, $mailbox);
 
-      while (list($key, $localname) = each($delete)) {
-         array_splice ($attachments, $key, 1);
+      while (list($lkey, $localname) = each($delete)) {
+         array_splice ($attachments, $lkey, 1);
          unlink ($attachment_dir.$localname);
          unlink ($attachment_dir.$localname.".info");
       }