From 4c43fa1cede42218b5c0b7f78f77bb78acc9af7a Mon Sep 17 00:00:00 2001 From: pdontthink Date: Mon, 20 Jun 2022 17:26:13 +0000 Subject: [PATCH] Remove use of each() git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14977 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/addressbook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addressbook.php b/src/addressbook.php index 4339ac94..fee6e969 100644 --- a/src/addressbook.php +++ b/src/addressbook.php @@ -305,7 +305,7 @@ if (!empty($formerror)) { /* Display the address management part */ $addresses = array(); -while (list($k, $backend) = each ($abook->backends)) { +foreach ($abook->backends as $k => $backend) { $a = array(); $a['BackendID'] = $backend->bnum; $a['BackendSource'] = $backend->sname; -- 2.25.1