From aa36017e4251f748b553392019d006c8d1ffccee Mon Sep 17 00:00:00 2001 From: dingguodong Date: Thu, 14 Sep 2023 11:28:43 +0800 Subject: [PATCH] - Rollback the code. --- lib/form/form.class.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/form/form.class.php b/lib/form/form.class.php index 9890d696e8..f6eae21281 100644 --- a/lib/form/form.class.php +++ b/lib/form/form.class.php @@ -117,13 +117,6 @@ class form extends fixer $this->batchConvertField($config); } - /* Append comment and uid to $this->data if it exist. */ - $reservedPostList = array('comment', 'uid'); - foreach($reservedPostList as $field) - { - if(isset($this->rawdata->$field)) $this->data->$field = $this->rawdata->$field; - } - if(!empty($this->errors)) { $response = array('result' => 'fail', 'message' => $this->errors);