+ Fixed bug when resetting password : Fixed v2
This commit is contained in:
parent
98f37da24b
commit
2049753c4a
|
@ -758,7 +758,7 @@ na.id as networkAgentId,
|
|||
if($agent) {
|
||||
$idag=$agent['agentId'];
|
||||
$datetime = $this->getCurrentTimeByUserID($agent['code_country']);
|
||||
$q = mysqli_query($this->con, "INSERT INTO demandeCredits(network_agent_id,montant,status,date_creation) VALUES('$idag','$montant','0',$datetime)");
|
||||
$q = mysqli_query($this->con, "INSERT INTO demandeCredits(network_agent_id,montant,status,date_creation) VALUES('$idag','$montant','0','$datetime')");
|
||||
$id = mysqli_insert_id($this->con);
|
||||
if ($q) {
|
||||
return ['success' => 1, "agent" => $agent, "id" => $id,
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
"MESSAGE_TREAT":"Your credit application has been processed,please check in the application \n \n Sincerely, The iLinkWorld Team",
|
||||
"MESSAGE_ACTIVE_ACCOUNT":"Hi %s, \n \nYour %s account has just been created. \nYour ID:%s \n\nYour verification code:%s \n \nService, \niLbinkWorld Team.",
|
||||
"MESSAGE_SUCCESS_RECOVERY_PASSWORD":"The password has been changed and a message has been sent to you",
|
||||
"NOTIFICATION_CREDIT_DEMAND_TEXT_SUCCESS":"%s sent you a credit request for %s %s."
|
||||
"NOTIFICATION_CREDIT_DEMAND_TEXT_SUCCESS":"%s sent you a credit request for %s %s.",
|
||||
"UNABLE_TO_SEND_DEMAND" : "An error occurred while sending the request"
|
||||
|
||||
}
|
||||
|
|
|
@ -30,5 +30,6 @@
|
|||
"MESSAGE_TREAT":"Votre demande de crédit vient d'être traité,veuillez consulter dans l'application \n\n Cordialement,L'equipe iLnkWorld.",
|
||||
"MESSAGE_ACTIVE_ACCOUNT":"Salut %s, \n \nvotre compte %s a été activé. \nvotre ID:%s \n\nvotre code de activation:%s \n \nCordialement, \nEquipe iLinkWorld .",
|
||||
"MESSAGE_SUCCESS_RECOVERY_PASSWORD": "Le mot de passe a été modifié et un message vous a été envoyé à ",
|
||||
"NOTIFICATION_CREDIT_DEMAND_TEXT_SUCCESS":"%s vous a envoyé une demande de crédit de %s %s."
|
||||
"NOTIFICATION_CREDIT_DEMAND_TEXT_SUCCESS":"%s vous a envoyé une demande de crédit de %s %s.",
|
||||
"UNABLE_TO_SEND_DEMAND" : "Une erreur est survenue lors de l'envoi de la demande"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue