+ Fixed bug when resetting password : Fixed v1
This commit is contained in:
parent
2379d3efae
commit
98f37da24b
|
@ -913,7 +913,7 @@ VALUES('$network->id','$agent_id','$balance','$etat','$code_id','$phone','$valid
|
|||
$agentId=$parrain['agentId'];
|
||||
if($agentId){
|
||||
$phone=$agent['phone'];
|
||||
$datetime = $this->getCurrentTimeByCountryCode($agent['code_country']);
|
||||
$datetime = $this->getCurrentTimeByCountryCode($parrain['code_country']);
|
||||
$resDemande=mysqli_query($this->con,"INSERT INTO demandeAdhesion(phone,networks_agent_id,date_creation) VALUES ('$phone','$agentId','$datetime')");
|
||||
if($resDemande){
|
||||
return ['success'=>1];
|
||||
|
|
Loading…
Reference in New Issue