+ Fix bug on phone number validation v2

This commit is contained in:
Djery-Tom 2021-05-25 16:17:00 +01:00
parent ff6ad95f5b
commit 757e9881f0
1 changed files with 1 additions and 1 deletions

View File

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