Set id in fetch() function
This commit is contained in:
parent
4464495f5f
commit
ec364f516e
@ -233,6 +233,7 @@ class Don
|
||||
|
||||
$obj = $this->db->fetch_object(0);
|
||||
|
||||
$this->id = $obj->rowid;
|
||||
$this->date = $obj->datedon;
|
||||
$this->prenom = stripslashes($obj->prenom);
|
||||
$this->nom = stripslashes($obj->nom);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user