fixed a couple of bugs in folder manipulation, in particular:
[squirrelmail.git] / src / right_main.php
index 99d0b40b537dd347111120ac06cf1488ee28b7b2..11710fa7bdeed3ac9e49fd8de181db2203810848 100644 (file)
@@ -12,7 +12,7 @@
       echo "<a href=\"login.php\">";
       echo _("login");
       echo "</a>";
-      echo _(" first.";
+      echo _(" first.");
       exit;
    }
    if(!isset($username) || !isset($key)) {
@@ -49,7 +49,7 @@
    /////////////////////////////////////////////////////////////////////////////////
 
    // open a connection on the imap port (143)
-   $imapConnection = loginToImapServer($username, $key, $imapServerAddress);
+   $imapConnection = loginToImapServer($username, $key, $imapServerAddress, 0);
 
    /** If it was a successful login, lets load their preferences **/
    include("../src/load_prefs.php");