From: Stéphane Jacob Date: Mon, 7 Jun 2010 08:32:10 +0000 (+0200) Subject: Fixes addresses display on profile (Closes #1068). X-Git-Tag: xorg/1.0.0~159 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=a08dc64f51abbc95e7b49e433c990f6ef650885d;p=platal.git Fixes addresses display on profile (Closes #1068). Signed-off-by: Stéphane Jacob --- diff --git a/ChangeLog b/ChangeLog index 4326dc0..d83d3fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -32,6 +32,7 @@ Bug/Wish: - #450: Adds marital name, thus ordinary name can be any name -JAC - #670: Adds Outlook CSV format for birthdays and contacts -Car - #891: Improves education display -JAC + - #1068: Fixes addresses display on profile -JAC - #1081: Sorts language alphabetically in skill tab -Car * Survey: diff --git a/core b/core index 7f8e81b..023024e 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 7f8e81bbf66f2fe959e93f865fd74a08e20e9fee +Subproject commit 023024ebd592cc89ab1ded64766ad5246b7c054c diff --git a/modules/profile/addresses.inc.php b/modules/profile/addresses.inc.php index 8f7614d..6ff3f24 100644 --- a/modules/profile/addresses.inc.php +++ b/modules/profile/addresses.inc.php @@ -64,7 +64,7 @@ class ProfileSettingAddress extends ProfileSettingGeocoding } } if ($current == 0 && count($value) > 0) { - foreach ($value as $address) { + foreach ($value as &$address) { $address['current'] = true; break; }