fix zeros dans birthday
This commit is contained in:
parent
78e5c3ffac
commit
02261ed660
@ -82,7 +82,7 @@ if ($_POST["action"] == 'update')
|
||||
&& $birthday>=1 && $birthday<=31
|
||||
&& $birthyear>=1850 && $birthyear<=date('Y'))
|
||||
{
|
||||
$contact->birthday = $birthyear.$birthmonth.$birthday;
|
||||
$contact->birthday = ($birthyear*10000)+($birthmonth*100)+$birthday;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user