Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
Fixed comments status filter
givanz53bd3e7ffaea
diff --git a/admin/controller/content/comments.php b/admin/controller/content/comments.phpold mode 100755new mode 100644index 09bed57..a5f7f85--- a/admin/controller/content/comments.php+++ b/admin/controller/content/comments.php@@ -42,8 +42,8 @@ class Comments extends Listing {function save() {$type = $this->type;- $comment_id = $this->request->get[$type . '_id'] ?? false;- $status = $this->request->get['newstatus'] ?? false;+ $comment_id = $this->request->get[$type . '_id'] ?? $this->request->post[$type . '_id'] ?? false;+ $status = $this->request->get['newstatus'] ?? $this->request->post['newstatus'] ?? false;if ($comment_id) {$comments = model($type);