projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17e1125
)
Don't attempt to import a birthday value if there is no value set
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Fri, 5 Feb 2010 16:42:47 +0000
(11:42 -0500)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Fri, 5 Feb 2010 16:42:47 +0000
(11:42 -0500)
turba/lib/Driver.php
patch
|
blob
|
history
diff --git
a/turba/lib/Driver.php
b/turba/lib/Driver.php
index
417ee29
..
e155d11
100644
(file)
--- a/
turba/lib/Driver.php
+++ b/
turba/lib/Driver.php
@@
-2193,7
+2193,9
@@
class Turba_Driver
break;
case 'BDAY':
- $hash['birthday'] = $item['value']['year'] . '-' . $item['value']['month'] . '-' . $item['value']['mday'];
+ if (!empty($item['value'])) {
+ $hash['birthday'] = $item['value']['year'] . '-' . $item['value']['month'] . '-' . $item['value']['mday'];
+ }
break;
case 'PHOTO':