Commit 4b87f76f authored by mbriand's avatar mbriand
Browse files

Pas de date de naissance -> null

parent 7d1c33f4
......@@ -806,7 +806,8 @@ class utilisateur extends stdentity
array('nom_utl' => $this->nom,
'prenom_utl' => $this->prenom,
'sexe_utl' => $this->sexe,
'date_naissance_utl' => date("Y-m-d",$this->date_naissance),
'date_naissance_utl' => (is_null($this->date_naissance)
? null : date("Y-m-d",$this->date_naissance)),
'addresse_utl' => $this->addresse,
'id_ville' => $this->id_ville,
'id_pays' => $this->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