Explorar el Código

Someone added non-optional parameter after optional one; it's not optional, but we can fix it like this

pdontthink hace 3 años
padre
commit
580b85b557
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      functions/imap_mailbox.php

+ 1 - 1
functions/imap_mailbox.php

@@ -1246,7 +1246,7 @@ function mbxSort($a, $b) {
  * @return object see mailboxes class
  * @since 1.5.0
  */
-function sqimap_fill_mailbox_tree($mbx_ary, $mbxs=false,$imap_stream) {
+function sqimap_fill_mailbox_tree($mbx_ary, $mbxs=false,$imap_stream=null) {
     global $data_dir, $username, $list_special_folders_first,
            $folder_prefix, $trash_folder, $sent_folder, $draft_folder,
            $move_to_trash, $move_to_sent, $save_as_draft,