diff --git a/doc/changelog.yml b/doc/changelog.yml index f7a61e51d..90f5eee51 100644 --- a/doc/changelog.yml +++ b/doc/changelog.yml @@ -62,6 +62,40 @@ [mms] Don't send empty text part if a message contains attachments. [mms] Add button to allow folder tree to be rebuilt in smartmobile view. [mms] Add option to poll mailbox for new mailbox when creating a mailbox (Request #13227). +6.2.28: + api: 6.2.0 + state: + release: stable + api: stable + date: 2020-08-27 + license: + identifier: GPL-2.0 + uri: http://www.horde.org/licenses/gpl + notes: | + [jan] Fix deprecation warnings about each() with PHP 7.2+. +6.2.27: + api: 6.2.0 + state: + release: stable + api: stable + date: 2020-08-27 + license: + identifier: GPL-2.0 + uri: http://www.horde.org/licenses/gpl + notes: | + [mjr] Fix attachments disappearing when forwarding in PHP 7.4 (Bug #15031). + [mjr] Prevent creating an empty To: header (Bug #15019). +6.2.26: + api: 6.2.0 + state: + release: stable + api: stable + date: 2020-06-28 + license: + identifier: GPL-2.0 + uri: http://www.horde.org/licenses/gpl + notes: | + [mjr] Fix syntax error. 6.2.25: api: 6.2.0 state: diff --git a/lib/Mailbox/List/Virtual.php b/lib/Mailbox/List/Virtual.php index 8d2934f25..9f1f0940e 100644 --- a/lib/Mailbox/List/Virtual.php +++ b/lib/Mailbox/List/Virtual.php @@ -107,8 +107,7 @@ public function getIndicesOb() $this->_buildMailbox(); $ob = new IMP_Indices(); - reset($this->_sorted); - while (list($k, $v) = each($this->_sorted)) { + foreach ($this->_sorted as $k => $v) { $ob->add($this->_sortedMbox[$k], $v); }