Remove use of each()
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 20 Jun 2022 17:26:13 +0000 (17:26 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 20 Jun 2022 17:26:13 +0000 (17:26 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14977 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/addressbook.php

index 4339ac94512766ec9c4843e0c972ed9464091d7c..fee6e969a6708966f9917417fe4d6dd2c0e30642 100644 (file)
@@ -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;