diff --git a/admin/controllers/receiver/Clues.php b/admin/controllers/receiver/Clues.php index f13e18d5..ecc4947f 100644 --- a/admin/controllers/receiver/Clues.php +++ b/admin/controllers/receiver/Clues.php @@ -264,7 +264,7 @@ class Clues extends HD_Controller $val['rec_time'] = $val['rec_time'] != '0000-00-00 00:00:00' ? $val['rec_time'] : ''; $is_unlock = ''; if ($val['app_id'] == Receiver_clues_model::APP_ID_ACTIVITY && $val['status'] > 0) { - $unlockCustomer = $this->customers_model->get(['rid' => $val['rid'], 'un_lock' => Receiver_customers_model::LOCK_STATUS]); + $unlockCustomer = $this->customers_model->get(['rid' => $val['id'], 'un_lock' => Receiver_customers_model::LOCK_STATUS]); $is_unlock = $unlockCustomer ? '已解锁' : '未解锁'; } $val['is_unlock'] = $is_unlock;