diff --git a/module/host/control.php b/module/host/control.php index 863d644d91..b17fc3d0fb 100644 --- a/module/host/control.php +++ b/module/host/control.php @@ -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); diff --git a/module/host/css/changestatus.ui.css b/module/host/css/changestatus.ui.css new file mode 100644 index 0000000000..640ba0c3d0 --- /dev/null +++ b/module/host/css/changestatus.ui.css @@ -0,0 +1,2 @@ +.form-grid .form-label{width: 1rem;} +.form-grid .form-group{padding-left: 1rem;} diff --git a/module/host/ui/changestatus.html.php b/module/host/ui/changestatus.html.php index bd9d897912..26f73f7a57 100644 --- a/module/host/ui/changestatus.html.php +++ b/module/host/ui/changestatus.html.php @@ -21,7 +21,9 @@ formPanel formGroup ( set::name('reason'), - set::control('textarea'), + set::label(' '), + set::control('editor'), + set::required(true), ), ), );