workaround for php3 dealing with optional arguments to function loginToImapServer
[squirrelmail.git] / src / compose.php
index 538ae69a794953dbe9d8c970b8879fd53b648f62..e13c8a257c156237b34c1a550624c1249c690818 100644 (file)
@@ -10,7 +10,7 @@
    include("../src/load_prefs.php");
 
    echo "<HTML><BODY TEXT=\"$color[8]\" BGCOLOR=\"$color[4]\" LINK=\"$color[7]\" VLINK=\"$color[7]\" ALINK=\"$color[7]\">\n";
-   $imapConnection = loginToImapServer($username, $key, $imapServerAddress);
+   $imapConnection = loginToImapServer($username, $key, $imapServerAddress, 0);
    displayPageHeader($color, "None");
 
    if ($forward_id) {