diff --git a/htdocs/contact/perso.php b/htdocs/contact/perso.php index 3699c0747e8..5ffdfaaab7b 100644 --- a/htdocs/contact/perso.php +++ b/htdocs/contact/perso.php @@ -45,11 +45,11 @@ $object = new Contact($db); if ($action == 'update' && ! $_POST["cancel"] && $user->rights->societe->contact->creer) { $ret = $object->fetch($id); - + // Note: Correct date should be completed with location to have exact GM time of birth. $object->birthday = dol_mktime(0,0,0,$_POST["birthdaymonth"],$_POST["birthdayday"],$_POST["birthdayyear"]); $object->birthday_alert = $_POST["birthday_alert"]; - + $result = $object->update_perso($id, $user); if ($result > 0) { @@ -84,13 +84,14 @@ if ($action == 'edit') /* * Fiche en mode edition */ - print '