Browse Source

Fix autodetect-delimiter-no-namespace code for devel sqimap_read_data(). Was breaking Mercury/32.

alex-brainstorm 22 years ago
parent
commit
75e1fc46ca
1 changed files with 1 additions and 0 deletions
  1. 1 0
      functions/imap_general.php

+ 1 - 0
functions/imap_general.php

@@ -761,6 +761,7 @@ function sqimap_get_delimiter ($imap_stream = false) {
         } else {
         } else {
             fputs ($imap_stream, ". LIST \"INBOX\" \"\"\r\n");
             fputs ($imap_stream, ". LIST \"INBOX\" \"\"\r\n");
             $read = sqimap_read_data($imap_stream, '.', true, $a, $b);
             $read = sqimap_read_data($imap_stream, '.', true, $a, $b);
+            $read = $read['.'][0];	//sqimap_read_data() now returns a tag array of response array
             $quote_position = strpos ($read[0], '"');
             $quote_position = strpos ($read[0], '"');
             $sqimap_delimiter = substr ($read[0], $quote_position+1, 1);
             $sqimap_delimiter = substr ($read[0], $quote_position+1, 1);
         }
         }