fixed some bugs in the sqimap_mailbox_close() function
[squirrelmail.git] / functions / imap_mailbox.php
index 384582632fd4a3e591acbd432561b016332e82a1..422638ed3193150b8a06adb94ac9cfce9ade72ad 100755 (executable)
@@ -36,7 +36,7 @@
     ******************************************************************************/
    function sqimap_mailbox_close ($imap_stream) {
       fputs ($imap_stream, "a001 CLOSE\r\n");
-      $tmp = sqimap_read_data($imap_stream, "a001", close, $response, $message);
+      $tmp = sqimap_read_data($imap_stream, "a001", false, $response, $message);
    }
 
    /******************************************************************************