diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2012-06-11 10:20:53 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2012-06-11 10:20:53 +0200 |
commit | 2950ce49eff42eb08cd4363975a3292692cbccd8 (patch) | |
tree | 2ac6b3b9a4daa1a484281b8021ea5c66333b0e34 /program/include/rcube_vcard.php | |
parent | d447a4f2296e5e9afc9d79cede0e49b2d6210f9f (diff) | |
parent | 7ac99af37b3b761b4daf2f0d9340c17e7855c234 (diff) |
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/include/rcube_vcard.php')
-rw-r--r-- | program/include/rcube_vcard.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/program/include/rcube_vcard.php b/program/include/rcube_vcard.php index b03ba9cfa..52545a0d9 100644 --- a/program/include/rcube_vcard.php +++ b/program/include/rcube_vcard.php @@ -312,8 +312,9 @@ class rcube_vcard break; case 'birthday': - if ($val = rcube_strtotime($value)) - $this->raw['BDAY'][] = array(0 => date('Y-m-d', $val), 'value' => array('date')); + case 'anniversary': + if (($val = rcube_strtotime($value)) && ($fn = self::$fieldmap[$field])) + $this->raw[$fn][] = array(0 => date('Y-m-d', $val), 'value' => array('date')); break; case 'address': |