projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01c8c98
)
Fixes section display in vcard.
author
Stéphane Jacob
<sj@m4x.org>
Mon, 3 Jan 2011 21:59:13 +0000
(22:59 +0100)
committer
Stéphane Jacob
<sj@m4x.org>
Mon, 3 Jan 2011 21:59:13 +0000
(22:59 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
include/vcard.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/include/vcard.inc.php
b/include/vcard.inc.php
index
bb025c6
..
18364ba
100644
(file)
--- 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