From fb16d2197c20586635e987c44f97683e7c8d9b88 Mon Sep 17 00:00:00 2001 From: pallo Date: Tue, 8 Aug 2000 07:08:16 +0000 Subject: [PATCH] Renamed $key variable in loops (fixes bug #111155) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@682 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/addressbook.php | 2 +- src/addrbook_search.php | 4 ++-- src/addrbook_search_html.php | 4 ++-- src/addressbook.php | 2 +- src/compose.php | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/functions/addressbook.php b/functions/addressbook.php index 45f586b3..21b6f1c6 100644 --- a/functions/addressbook.php +++ b/functions/addressbook.php @@ -36,7 +36,7 @@ // Load configured LDAP servers if(is_array($ldap_server)) { reset($ldap_server); - while(list($key,$param) = each($ldap_server)) { + while(list($undef,$param) = each($ldap_server)) { if(is_array($param)) { $r = $abook->add_backend("ldap_server", $param); if(!$r && $showerr) { diff --git a/src/addrbook_search.php b/src/addrbook_search.php index d89d118b..df487f71 100644 --- a/src/addrbook_search.php +++ b/src/addrbook_search.php @@ -100,7 +100,7 @@ function bcc_address($addr) { print "\n"; - while(list($key, $row) = each($res)) { + while(list($undef, $row) = each($res)) { printf("". "To | ". "Cc | ". @@ -190,7 +190,7 @@ function bcc_address($addr) { printf("