workaround for php3 dealing with optional arguments to function loginToImapServer
[squirrelmail.git] / src / read_body.php
index 838e402c915bfb8c4803ed5a0d10a8a81a493e65..3c13148aabfb172e59a0bed10370d94714dad367 100644 (file)
@@ -9,7 +9,7 @@
 
    include("../src/load_prefs.php");
 
-   $imapConnection = loginToImapServer($username, $key, $imapServerAddress);
+   $imapConnection = loginToImapServer($username, $key, $imapServerAddress, 0);
    selectMailbox($imapConnection, $mailbox, $numMessages);
 
    // $message contains all information about the message