Skip to content

Commit

Permalink
Fix: Removed a TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 22, 2012
1 parent fb89b06 commit 16d48f1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions htdocs/contact/class/contact.class.php
Expand Up @@ -533,10 +533,7 @@ function fetch($id, $user=0)
$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;
Expand Down

0 comments on commit 16d48f1

Please sign in to comment.