From 9fee0ed9af6bb1daa3af2ff7290f5589040b4821 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sun, 16 Oct 2005 15:12:24 -0400
Subject: [PATCH] Fixed folder display; added Portuguese and Catalan

---
 program/lib/imap.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/lib/imap.inc b/program/lib/imap.inc
index 7d225c6..22757ba 100644
--- a/program/lib/imap.inc
+++ b/program/lib/imap.inc
@@ -325,7 +325,7 @@
 	}
 	
 	//open socket connection
-	$conn->fp = @fsockopen($host, $ICL_PORT, &$errno, &$errstr, 10);
+	$conn->fp = @fsockopen($host, $ICL_PORT, $errno, $errstr, 10);
 	if (!$conn->fp){
         $iil_error = "Could not connect to $host at port $ICL_PORT: $errstr";
         $iil_errornum = -1;
@@ -1388,7 +1388,7 @@
 		$result=array();
 		reset($index);
 		while (list($key, $val)=each($index)){
-			$result[$i]=$a[$key];
+			$result[$key]=$a[$key];
 			$i++;
 		}
 	}

--
Gitblit v1.9.1