Commit 6f2fd1fd by Jansa Jose

cpf

parent 6134e3a8
......@@ -3533,7 +3533,7 @@ class Webservice extends CI_Controller {
$cpf = $_GET['cpf'];
if(isset($cpf) && strlen(trim($cpf," ")) > 0 ){
$is_cpf = $this->Webservice_model->is_cpf_exist($cpf,0);
if($ress['status'] == 'success'){
if($is_cpf['status'] == 'success'){
$res = array(
"status"=> "success",
"data"=>array("is_available"=>true)
......@@ -3561,7 +3561,7 @@ class Webservice extends CI_Controller {
$cpf = $_GET['cpf'];
if(isset($cpf) && strlen(trim($cpf," ")) > 0 ){
$is_cpf = $this->Webservice_model->is_cpf_exist($cpf,1);
if($ress['status'] == 'success'){
if($is_cpf['status'] == 'success'){
$res = array(
"status"=> "success",
"data"=>array("is_available"=>true)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment