Commit 9be33327 authored by mbriand's avatar mbriand
Browse files

Pas de date de naissance -> null

parent ad6ddf8b
......@@ -374,7 +374,7 @@ class utilisateur extends stdentity
$this->pass = $row['pass_utl'];
$this->hash = $row['hash_utl'];
$this->sexe = $row['sexe_utl'];
$this->date_naissance = strtotime($row['date_naissance_utl']);
$this->date_naissance = (is_null($row['date_naissance_utl']) ? null : strtotime($row['date_naissance_utl']));
$this->addresse = $row['addresse_utl'];
$this->id_ville = $row['id_ville'];
$this->id_pays = $row['id_pays'];
......
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