From 16d48f18208c2c5740c1a48fb462433d36764e20 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Sun, 22 Jan 2012 02:20:28 +0100 Subject: [PATCH] Fix: Removed a TODO --- htdocs/contact/class/contact.class.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/htdocs/contact/class/contact.class.php b/htdocs/contact/class/contact.class.php index 33fbea9c30a..d3c8781aa7d 100644 --- a/htdocs/contact/class/contact.class.php +++ b/htdocs/contact/class/contact.class.php @@ -533,10 +533,7 @@ class Contact extends CommonObject $this->priv = $obj->priv; $this->mail = $obj->email; - // TODO Replace birthday with a date selector - require_once(DOL_DOCUMENT_ROOT."/core/lib/date.lib.php"); - $this->birthday = dol_stringtotime($obj->birthday); - //print "fetch: ".$obj->birthday.'-'.$this->birthday; + $this->birthday = $this->db->jdate($obj->birthday); $this->birthday_alert = $obj->birthday_alert; $this->note = $obj->note; $this->default_lang = $obj->default_lang; -- GitLab