From: Stéphane Jacob Date: Thu, 30 Apr 2009 12:59:42 +0000 (+0200) Subject: Fixes bug in the generation of the work address in the vcard. X-Git-Tag: xorg/0.10.1~101 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=b9e7de303b69ff470d094a642d7c1c0c0b9cbd83;p=platal.git Fixes bug in the generation of the work address in the vcard. --- diff --git a/include/vcard.inc.php b/include/vcard.inc.php index dfdadaa..59eb6f5 100644 --- a/include/vcard.inc.php +++ b/include/vcard.inc.php @@ -113,7 +113,7 @@ class VCard extends PlVCard // Pro if (!empty($user['adr_pro'])) { foreach ($user['adr_pro'] as $pro) { - $street = array($adr['adr1']); + $street = array($pro['adr1']); if (!empty($pro['adr2'])) { $street[] = $pro['adr2']; }