From: Michael J. Rubinsky Date: Fri, 5 Feb 2010 16:42:47 +0000 (-0500) Subject: Don't attempt to import a birthday value if there is no value set X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b95e085082d2a9fa3d7f52448623b9c6a2cc10ef;p=horde.git Don't attempt to import a birthday value if there is no value set --- diff --git a/turba/lib/Driver.php b/turba/lib/Driver.php index 417ee2908..e155d1140 100644 --- 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':