projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4679735
)
MFB: Make 'birthday' really empty if BDAY property is empty.
author
Jan Schneider
<jan@horde.org>
Tue, 21 Sep 2010 21:33:40 +0000
(23:33 +0200)
committer
Jan Schneider
<jan@horde.org>
Tue, 21 Sep 2010 21:33:40 +0000
(23:33 +0200)
turba/lib/Driver.php
patch
|
blob
|
history
diff --git
a/turba/lib/Driver.php
b/turba/lib/Driver.php
index
24968ac
..
cb44250
100644
(file)
--- a/
turba/lib/Driver.php
+++ b/
turba/lib/Driver.php
@@
-2188,7
+2188,9
@@
class Turba_Driver implements Countable
break;
case 'BDAY':
- if (!empty($item['value'])) {
+ if (empty($item['value'])) {
+ $hash['birthday'] = '';
+ } else {
$hash['birthday'] = $item['value']['year'] . '-' . $item['value']['month'] . '-' . $item['value']['mday'];
}
break;