Skip to content

Commit

Permalink
Fixe date on fetch adherent.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ptibogxiv committed Mar 3, 2019
1 parent d502d10 commit dd172f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions htdocs/adherents/class/adherent.class.php
Expand Up @@ -1281,9 +1281,12 @@ public function fetch($rowid, $ref = '', $fk_soc = '', $ref_ext = '', $fetch_opt
$this->public = $obj->public;

$this->datec = $this->db->jdate($obj->datec);
$this->date_creation = $this->db->jdate($obj->datec);
$this->datem = $this->db->jdate($obj->datem);
$this->date_modification= $this->db->jdate($obj->datem);
$this->datefin = $this->db->jdate($obj->datefin);
$this->datevalid = $this->db->jdate($obj->datev);
$this->date_validation = $this->db->jdate($obj->datev);
$this->birth = $this->db->jdate($obj->birthday);

$this->note_private = $obj->note_private;
Expand Down

0 comments on commit dd172f0

Please sign in to comment.