[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-cvs
Subject:    [SM-CVS] SF.net SVN: squirrelmail:[14977] trunk/squirrelmail/src/addressbook.php
From:       pdontthink--- via squirrelmail-cvs <squirrelmail-cvs () lists ! sourceforge ! net>
Date:       2022-06-20 17:26:13
Message-ID: 1655745973.262259.17223 () sfp-scm-3 ! v30 ! lw ! sourceforge ! com
[Download RAW message or body]

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.



-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@lists.sourceforge.net
List info (subscribe/unsubscribe/change options): \
                https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic