Skip to content
Snippets Groups Projects
Commit 9c645dc0 authored by Yannick Warnier's avatar Yannick Warnier
Browse files

ajout filtre date naissance

parent ccbbab0c
Branches
Tags
No related merge requests found
......@@ -443,8 +443,8 @@ class Adherent
$sql .= ",statut=" .$this->statut;
$sql .= ",fk_adherent_type=".$this->typeid;
$sql .= ",morphy=" ."'".$this->morphy."'";
$sql .= ",naiss=" .($this->naiss?"'".$this->naiss."'":"null");
$birthday = (int) $this->naiss;
$sql .= ",naiss=" .($birthday?"'".$birthday."'":"null");
if ($this->datefin) $sql .= ",datefin='".$this->db->idate($this->datefin)."'"; // Ne doit etre modifi que par effacement cotisation
if ($this->datevalid) $sql .= ",datevalid='".$this->db->idate($this->datevalid)."'"; // Ne doit etre modifi que par validation adherent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment