From f9fde4bde10f2b9727aae3663221c6d786bfc887 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Fri, 5 Dec 2003 12:26:59 +0000 Subject: [PATCH] Another fix for BDAY field import --- phpgwapi/inc/class.vcard.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.vcard.inc.php b/phpgwapi/inc/class.vcard.inc.php index ec5d9f0554..e455f533af 100644 --- a/phpgwapi/inc/class.vcard.inc.php +++ b/phpgwapi/inc/class.vcard.inc.php @@ -596,7 +596,7 @@ case 'BDAY': #1969-12-31 if(strlen($values[0]) == 8) { - $entry['bday'] = substr($values[0],0,4) . '/' . substr($values[0],4,2) . '/' . substr($values[0],6,2); + $entry['bday'] = substr($values[0],4,2) . '/' . substr($values[0],6,2) . '/' . substr($values[0],0,4); } else {