git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13753
7612ce4b-ef26-0410-bec9-
ea0150e637f0
- Add "Check All" function to address book when using "in-page" addressbook.
- Fixed the Filters plugin to allow commas in filter criteria text.
- In SMTP, when we EHLO with an IP, wrap it in brackets (#2793154).
+ - Bug Report plugin not handling multiple same key capabilities (thread/auth)
+ (#2796007).
Version 1.5.1 (branched on 2006-02-12)
--------------------------------------
$body.= ' Capabilities: ';
if ($imap_capabilities = sqimap_capability($imap_stream)) {
foreach ($imap_capabilities as $capability => $value) {
- $body.= $capability . (is_bool($value) ? ' ' : "=$value ");
+ if (is_array($value)) {
+ foreach($value as $val) {
+ $body .= $capability . "=$val ";
+ }
+ } else {
+ $body.= $capability . (is_bool($value) ? ' ' : "=$value ");
+ }
}
}
$body.="\n";