workaround for php3 dealing with optional arguments to function loginToImapServer
[squirrelmail.git] / src / folders_delete.php
index 496ebd345097d27e3e52ded2d4bc52c704a4141c..caebfcb2c115787c847db545b8e5bcaa1ab97e1d 100644 (file)
@@ -9,7 +9,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);
    getFolderList($imapConnection, $boxes);
 
    $dm = findMailboxDelimeter($imapConnection);