- Rollback the code.

This commit is contained in:
dingguodong
2023-09-14 11:28:54 +08:00
parent 6bb0ae30aa
commit aa36017e42
-7
View File
@@ -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);