Commit abe6fd90 authored by slopez's avatar slopez

bleh

parent 6970f73d
......@@ -64,9 +64,9 @@ if ( $_REQUEST["action"] == "validcertif" )
$site->error_not_found();
exit();
}
if($_REQUEST['date_fin'] > time())
if(strtotime($_REQUEST['date_fin']) > time())
{
$user->set_certificat($_REQUEST['date_fin']);
$user->set_certificat(strtotime($_REQUEST['date_fin']));
$info = new contents("Enregistrement certificat","Certificats enregistré, <a href='".$topdir."user.php?id_utilisateur=".$_REQUEST['id_utilisateur']."'>Voir la fiche</a>.");
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment