From 8ff5cc1f258e3b99e9d6962d39f2d407f0e2ee80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=BB=B6=E4=B9=89?= Date: Thu, 8 Sep 2022 08:57:47 +0000 Subject: [PATCH] * Fix bug 27149. --- api/v1/entries/feedbacks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/entries/feedbacks.php b/api/v1/entries/feedbacks.php index 7e7e3195d5..71d442bd30 100644 --- a/api/v1/entries/feedbacks.php +++ b/api/v1/entries/feedbacks.php @@ -22,7 +22,7 @@ class feedbacksEntry extends entry if(strpos(strtolower($this->param('fields')), 'moduleandproduct') !== false) return $this->getModuleAndProduct(); $control = $this->loadController('feedback', 'admin'); - $control->admin($this->param('solution', 'unclosed'), 0, $this->param('orderBy', 'id_desc'), 0, $this->param('limit', 20), $this->param('page', 1)); + $control->admin($this->param('status', 'unclosed'), 0, $this->param('orderBy', 'id_desc'), 0, $this->param('limit', 20), $this->param('page', 1)); $data = $this->getData(); if(!$data or !isset($data->status)) return $this->sendError(400, 'error');