Aleksander Machniak
2013-10-28 b1f3c3bee814ee9fadd4145ade9d9542211d2ee4
program/steps/addressbook/save.inc
@@ -80,8 +80,8 @@
    // normalize the submitted date strings
    if ($colprop['type'] == 'date') {
        if ($timestamp = rcube_utils::strtotime($a_record[$col])) {
            $a_record[$col] = date('Y-m-d', $timestamp);
        if ($a_record[$col] && ($dt = rcube_utils::anytodatetime($a_record[$col]))) {
            $a_record[$col] = $dt->format('Y-m-d');
        }
        else {
            unset($a_record[$col]);