Explorar o código

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

gustavf %!s(int64=25) %!d(string=hai) anos
pai
achega
1027cdda39
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      functions/imap_mailbox.php

+ 1 - 1
functions/imap_mailbox.php

@@ -35,7 +35,7 @@
    /******************************************************************************
     **  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");
      	$read = sqimap_read_data($imap_stream, "a001", true, $response, $message);
    }