fix zeros dans birthday

This commit is contained in:
ywarnier 2007-01-16 11:27:23 +00:00
parent 78e5c3ffac
commit 02261ed660

View File

@ -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;
}
}