Browse Source

Made hide parameter to sqimap_mailbox_select optional, since few
function calls used it for something.

gustavf 25 years ago
parent
commit
1027cdda39
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions/imap_mailbox.php

+ 1 - 1
functions/imap_mailbox.php

@@ -35,7 +35,7 @@
    /******************************************************************************
    /******************************************************************************
     **  Selects a mailbox
     **  Selects a mailbox
     ******************************************************************************/
     ******************************************************************************/
-   function sqimap_mailbox_select ($imap_stream, $mailbox, $hide) {
+   function sqimap_mailbox_select ($imap_stream, $mailbox, $hide=true) {
       fputs ($imap_stream, "a001 SELECT \"$mailbox\"\r\n");
       fputs ($imap_stream, "a001 SELECT \"$mailbox\"\r\n");
      	$read = sqimap_read_data($imap_stream, "a001", true, $response, $message);
      	$read = sqimap_read_data($imap_stream, "a001", true, $response, $message);
    }
    }