* Possible fix for UW giving billions of files as "folders"
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 21 May 2001 15:29:51 +0000 (15:29 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 21 May 2001 15:29:51 +0000 (15:29 +0000)
  SourceForge Patch # 407864 by Steve Huston (srhuston)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1394 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_mailbox.php

index 371648f..5d59aaf 100755 (executable)
 
       /** LSUB array **/
       $inbox_subscribed = false;
-      fputs ($imap_stream, "a001 LSUB \"\" \"*%\"\r\n");
+      fputs ($imap_stream, "a001 LSUB \"$folder_prefix\" \"*%\"\r\n");
       $lsub_ary = sqimap_read_data ($imap_stream, "a001", true, $response, $message);
 
       /** OS: we don't want to parse last element of array, 'cause it is OK command, so we unset it **/