From b9e7de303b69ff470d094a642d7c1c0c0b9cbd83 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Thu, 30 Apr 2009 14:59:42 +0200 Subject: [PATCH 1/1] Fixes bug in the generation of the work address in the vcard. --- include/vcard.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']; } -- 2.1.4