From 17717c87461244343ee261ee7d5f1f39c585922f Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Mon, 3 Jan 2011 22:59:13 +0100 Subject: [PATCH] Fixes section display in vcard. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- include/vcard.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/vcard.inc.php b/include/vcard.inc.php index bb025c6..18364ba 100644 --- a/include/vcard.inc.php +++ b/include/vcard.inc.php @@ -159,8 +159,7 @@ class VCard extends PlVCard $entry->set('X-BINETS', join(', ', $bns)); } if (!empty($pf->section)) { - $sections = DirEnum::getOptions(DirEnum::SECTIONS); - $entry->set('X-SECTION', $sections[$pf->section]); + $entry->set('X-SECTION', $pf->section); } // Photo -- 2.1.4