From: Jan Schneider Date: Tue, 21 Sep 2010 21:33:40 +0000 (+0200) Subject: MFB: Make 'birthday' really empty if BDAY property is empty. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d7c6b3bd8b3b8016111049034c44aa98eea185d8;p=horde.git MFB: Make 'birthday' really empty if BDAY property is empty. --- diff --git a/turba/lib/Driver.php b/turba/lib/Driver.php index 24968ac8b..cb4425000 100644 --- 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;