diff --git a/app/Models/Cloudflare/API/ZoneModel.php b/app/Models/Cloudflare/API/ZoneModel.php index 30b9977..c67589c 100644 --- a/app/Models/Cloudflare/API/ZoneModel.php +++ b/app/Models/Cloudflare/API/ZoneModel.php @@ -75,7 +75,9 @@ 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')->findAll(); + $ids = $this->db->table('cloudflarerecord')->select('zone_uid')->where('content', $word, 'both')->get()->getResultArray(); + echo var_export($ids, true); + exit; $this->wherein('uid', $ids); } }