diff options
Diffstat (limited to 'include/assignments-edit.php')
-rw-r--r-- | include/assignments-edit.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/assignments-edit.php b/include/assignments-edit.php index 0e0801a..4faad64 100644 --- a/include/assignments-edit.php +++ b/include/assignments-edit.php @@ -39,6 +39,9 @@ try { case 'vat': $response->success = $assignment->setVAT($_REQUEST['value']); break; + case 'description': + $response->success = $assignment->setDescription($_REQUEST['value']); + break; default: $response->http_response_code(404); $response->success = false; @@ -56,4 +59,4 @@ try { $response->success = false; $response->message = "The assignment could not be edited due to an exception."; } -echo $response->message;
\ No newline at end of file +echo $response->message; |