diff --git a/app/Models/Cloudflare/API/ZoneModel.php b/app/Models/Cloudflare/API/ZoneModel.php index 646a02b..c4c2db2 100644 --- a/app/Models/Cloudflare/API/ZoneModel.php +++ b/app/Models/Cloudflare/API/ZoneModel.php @@ -74,10 +74,8 @@ class ZoneModel extends Model public function setIndexWordFilter(string $word) { $this->like('domain', $word, 'both'); //befor , after , both - if (isIPAddress_CommonHelper($word)) { - $subquery = $this->db->table('cloudflarerecord')->select('zone_uid')->where('content', $word, 'both'); - $this->orWhereIn('uid', $subquery); - } + $subquery = $this->db->table('cloudflarerecord')->select('zone_uid')->where('content', $word, 'both'); + $this->orWhereIn('uid', $subquery); } public function setIndexDateFilter($start, $end) {