From ecc92309bfb34457906521b2cfc410e43fccd384 Mon Sep 17 00:00:00 2001 From: stekkel Date: Thu, 22 Apr 2004 18:20:38 +0000 Subject: [PATCH] reminder for people that want to use the capability string. It's broken in certain cases. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7222 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_general.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/imap_general.php b/functions/imap_general.php index 2a6e1d13..3c812805 100755 --- a/functions/imap_general.php +++ b/functions/imap_general.php @@ -773,6 +773,8 @@ function sqimap_capability($imap_stream, $capability='') { for ($i=2; $i < count($c); $i++) { $cap_list = explode('=', $c[$i]); if (isset($cap_list[1])) { + // FIX ME. capabilities can occure multiple times. + // THREAD=REFERENCES THREAD=ORDEREDSUBJECT $sqimap_capabilities[$cap_list[0]] = $cap_list[1]; } else { $sqimap_capabilities[$cap_list[0]] = TRUE; -- 2.25.1