diff --git a/app/Models/Cloudflare/API/ZoneModel.php b/app/Models/Cloudflare/API/ZoneModel.php index c67589c..c77884e 100644 --- a/app/Models/Cloudflare/API/ZoneModel.php +++ b/app/Models/Cloudflare/API/ZoneModel.php @@ -75,10 +75,8 @@ class ZoneModel extends Model { $this->like('domain', $word, 'both'); //befor , after , both if (isIPAddress_CommonHelper($word)) { - $ids = $this->db->table('cloudflarerecord')->select('zone_uid')->where('content', $word, 'both')->get()->getResultArray(); - echo var_export($ids, true); - exit; - $this->wherein('uid', $ids); + $subquery = $this->db->table('cloudflarerecord')->select('zone_uid')->where('content', $word, 'both'); + $this->wherein('uid', $subquery); } } public function setIndexDateFilter($start, $end)