Try to detect real, current location of users in minifiche.
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Thu, 21 Oct 2010 19:52:29 +0000 (21:52 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Thu, 21 Oct 2010 19:53:53 +0000 (21:53 +0200)
commitb0ffc8817742b44a6cf0f02cdcd885ea7b154625
tree22b49cef5c6e1503e97f4783357478fc518594a1
parent843707811834ac764ceb05df10ddfde16e143912
Try to detect real, current location of users in minifiche.

Previous behaviour for 'getMainAddress' was to fetch the first among all
current/home addresses, even if that address was a secondary / temporary
address.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
classes/profile.php