Commit 6675b263 by Jansa Jose

search

parent 350c6ea6
...@@ -3992,9 +3992,15 @@ class Webservice_model extends CI_Model { ...@@ -3992,9 +3992,15 @@ class Webservice_model extends CI_Model {
unset($res->number); unset($res->number);
unset($res->complement); unset($res->complement);
$new[0] = decrypt_data($res->telephone); if(isset($res->telephone)){
$res->phone =$new; $new[0] = decrypt_data($res->telephone);
unset($res->telephone); $res->phone =$new;
unset($res->telephone);
}else{
$res->phone ='';
unset($res->telephone);
}
$result = array('status'=>'success','data'=>$res); $result = array('status'=>'success','data'=>$res);
}else{ }else{
$result = array('status'=>'failed'); $result = array('status'=>'failed');
......
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