From 9fee0ed9af6bb1daa3af2ff7290f5589040b4821 Mon Sep 17 00:00:00 2001 From: thomascube Date: Sun, 16 Oct 2005 19:12:24 +0000 Subject: Fixed folder display; added Portuguese and Catalan --- program/lib/imap.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program/lib') diff --git a/program/lib/imap.inc b/program/lib/imap.inc index 7d225c6f1..22757ba82 100644 --- a/program/lib/imap.inc +++ b/program/lib/imap.inc @@ -325,7 +325,7 @@ function iil_Connect($host, $user, $password){ } //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 @@ function iil_SortHeaders($a, $field, $flag){ $result=array(); reset($index); while (list($key, $val)=each($index)){ - $result[$i]=$a[$key]; + $result[$key]=$a[$key]; $i++; } } -- cgit v1.2.3