From: Stéphane Jacob Date: Thu, 24 Jun 2010 12:04:44 +0000 (+0200) Subject: Fixes addresses fetch for profile (Closes #1153). X-Git-Tag: xorg/1.0.0~53 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=10e9d82bef323fda3c12a9cee62142018a31505e;p=platal.git Fixes addresses fetch for profile (Closes #1153). Signed-off-by: Stéphane Jacob --- 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); } }