Browse Source

Small fix to folder renaming.

Luke Ehresman 25 years ago
parent
commit
49aedf33c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/folders_rename_do.php

+ 1 - 1
src/folders_rename_do.php

@@ -25,7 +25,7 @@
 
    // Renaming a folder doesn't renames the folder but leaves you unsubscribed
    //    at least on Cyrus IMAP servers.
-   fputs ($imapConnection, "sub SUBSCRIBE $newone\n");
+   fputs ($imapConnection, "sub SUBSCRIBE \"$newone\"\n");
    $data = imapReadData($imapConnection, "sub", true, $a, $b);
 
    /** Log out this session **/