From: <pdo...@us...> - 2022-06-20 17:26:22
|
Revision: 14977 http://sourceforge.net/p/squirrelmail/code/14977 Author: pdontthink Date: 2022-06-20 17:26:13 +0000 (Mon, 20 Jun 2022) Log Message: ----------- Remove use of each() Modified Paths: -------------- trunk/squirrelmail/src/addressbook.php Modified: trunk/squirrelmail/src/addressbook.php =================================================================== --- trunk/squirrelmail/src/addressbook.php 2022-06-20 17:19:35 UTC (rev 14976) +++ trunk/squirrelmail/src/addressbook.php 2022-06-20 17:26:13 UTC (rev 14977) @@ -305,7 +305,7 @@ /* 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; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |