+ Fixed bug when resetting password : Fixed v1

This commit is contained in:
Djery-Tom 2020-11-14 09:37:13 +01:00
parent 2379d3efae
commit 98f37da24b
1 changed files with 1 additions and 1 deletions

View File

@ -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];