Commit 6675b263 by Jansa Jose

search

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