* $data didn't have the $
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 7 May 2001 14:31:08 +0000 (14:31 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 7 May 2001 14:31:08 +0000 (14:31 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1337 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index 527067929abd7e2b29af8209d2f3dab27d55fce3..3b684a9edb8dd4c185d48c0f07ca6f82ae1a01c8 100644 (file)
       fputs ($imap_stream, "a010 FETCH $id BODY[$ent_id]\r\n");
       $data = sqimap_read_data ($imap_stream, 'a010', true, $response, $message);
       $topline = array_shift($data);
-      while (! ereg('\\* [0-9]+ FETCH ', $topline) && data)
+      while (! ereg('\\* [0-9]+ FETCH ', $topline) && $data)
           $topline = array_shift($data);
       $wholemessage = implode('', $data);