From 10e9d82bef323fda3c12a9cee62142018a31505e Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Thu, 24 Jun 2010 14:04:44 +0200 Subject: [PATCH] Fixes addresses fetch for profile (Closes #1153). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- include/profilefields.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/profilefields.inc.php b/include/profilefields.inc.php index 6854079..80eb725 100644 --- a/include/profilefields.inc.php +++ b/include/profilefields.inc.php @@ -645,7 +645,7 @@ class ProfileAddresses extends ProfileField } while ($addr = $it->next()) { - $this->addresses[$addr['id']] = new Address($addr); + $this->addresses[] = new Address($addr); } } -- 2.1.4