* Fix bug#38008

This commit is contained in:
zenggang
2023-08-31 05:38:53 +00:00
parent 89f84c9429
commit 9afe721378
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ class host extends control
$reason = $this->lang->host->{$reasonKey};
if($_SERVER['REQUEST_METHOD'] == 'POST')
{
$postData = fixer::input('post')->get();
$postData = fixer::input('post')->skipSpecial('reason')->get();
if(empty($postData->reason))
{
dao::$errors['reason'][] = sprintf($this->lang->error->notempty, $reason);