diff --git a/addressbook/inc/class.uiaddressbook.inc.php b/addressbook/inc/class.uiaddressbook.inc.php index 8a8fd4ade0..10d3719829 100644 --- a/addressbook/inc/class.uiaddressbook.inc.php +++ b/addressbook/inc/class.uiaddressbook.inc.php @@ -117,7 +117,8 @@ { $select .= ''."\n"; } - while(list($key,$val) = each($list)) +// while(list($key,$val) = each($list)) + foreach($list as $key => $val) { $select .= '