Commit 086a2bb0 by Tobin

dc

parent 43e397b0
...@@ -1880,7 +1880,7 @@ class Webservice_model extends CI_Model { ...@@ -1880,7 +1880,7 @@ class Webservice_model extends CI_Model {
$sql = "SELECT CUST.customer_id FROM customer AS CUST $sql = "SELECT CUST.customer_id FROM customer AS CUST
INNER JOIN users AS USR ON (USR.id=CUST.customer_id) INNER JOIN users AS USR ON (USR.id=CUST.customer_id)
WHERE $phNumbers"; WHERE $phNumbers AND CUST.customer_id!=$user_id";
$custIds = $this->db->query($sql)->result_array(); $custIds = $this->db->query($sql)->result_array();
if(empty($custIds)){ if(empty($custIds)){
return array('status'=>0,'code'=>'919','message'=>'No Data Found'); return array('status'=>0,'code'=>'919','message'=>'No Data Found');
......
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