+ Fix bug on phone number validation v2
This commit is contained in:
parent
ff6ad95f5b
commit
757e9881f0
|
@ -948,7 +948,7 @@ na.id as agent_id,ds.id,cg.code_membre as code_membre ,ds.id as demande_id FROM
|
|||
$response["error_msg"] = "numero existe deja";
|
||||
echo json_encode($response);
|
||||
} else {
|
||||
if (!$this->db->checknumberValidity($request->phone)) {
|
||||
if ($this->db->checknumberValidity($request->phone)) {
|
||||
$user = $this->db->storeUserSimple($request->address, $request->lastname, $request->email,
|
||||
$request->phone,
|
||||
$request->password, $request->network);
|
||||
|
|
Loading…
Reference in New Issue