summaryrefslogtreecommitdiff
path: root/public/app/controllers/Office.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/app/controllers/Office.php')
-rw-r--r--public/app/controllers/Office.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/app/controllers/Office.php b/public/app/controllers/Office.php
index 4161efc..ade0a03 100644
--- a/public/app/controllers/Office.php
+++ b/public/app/controllers/Office.php
@@ -249,7 +249,8 @@ class Office {
// #4: get Form's HTML and Javascript ----------------------------------
$form = JsonToForm::json_form($form_setup, [
- ['name' => 'user_id', 'value' => $user_id] // pass user identity
+ ['name' => 'user_id', 'value' => $user_id], // pass user identity
+ ['name' => 'subject', 'value' => ''] // subject shall be auto-created
]);
// #5: create ticket; then render the view -----------------------------