diff --git a/app/crmAdmin/service/CustomerService.php b/app/crmAdmin/service/CustomerService.php index 5f08943..6a68ee7 100644 --- a/app/crmAdmin/service/CustomerService.php +++ b/app/crmAdmin/service/CustomerService.php @@ -141,7 +141,7 @@ class CustomerService public function export($params) { - if(empty($param['user_id']) && empty($param['tag_id'])){ + if(empty($params['user_id']) && empty($params['tag_id'])){ $params['user_id'] = 0; } $customers = $this->search($params, true);