diff --git a/modules/joborders/JobOrdersUI.php b/modules/joborders/JobOrdersUI.php index 1e9daf5c..ce7ae0f0 100755 --- a/modules/joborders/JobOrdersUI.php +++ b/modules/joborders/JobOrdersUI.php @@ -766,7 +766,7 @@ private function onAdd() $department = $this->getTrimmedInput('department', $_POST); $maxRate = $this->getSanitisedInput('maxRate', $_POST); $salary = $this->getSanitisedInput('salary', $_POST); - $description = $this->getSanitisedInput('description', $_POST); + $description = $this->getTrimmedInput('description', $_POST); $notes = $this->getSanitisedInput('notes', $_POST); /* Bail out if any of the required fields are empty. */ @@ -1110,7 +1110,7 @@ private function onEdit() $department = $this->getTrimmedInput('department', $_POST); $maxRate = $this->getSanitisedInput('maxRate', $_POST); $salary = $this->getSanitisedInput('salary', $_POST); - $description = $this->getSanitisedInput('description', $_POST); + $description = $this->getTrimmedInput('description', $_POST); $notes = $this->getSanitisedInput('notes', $_POST); /* Bail out if any of the required fields are empty. */