diff --git a/post/user/ticket.php b/post/user/ticket.php index c6ec6f41..69b1c5fc 100644 --- a/post/user/ticket.php +++ b/post/user/ticket.php @@ -77,17 +77,6 @@ if (isset($_POST['add_ticket'])) { $ticket_id = mysqli_insert_id($mysqli); - // Add Tasks - if (!empty($_POST['tasks'])) { - foreach ($_POST['tasks'] as $task) { - $task_name = sanitizeInput($task); - // Check that task_name is not-empty (For some reason the !empty on the array doesnt work here like in watchers) - if (!empty($task_name)) { - mysqli_query($mysqli,"INSERT INTO tasks SET task_name = '$task_name', task_ticket_id = $ticket_id"); - } - } - } - // Add Tasks from Template if Template was selected if($ticket_template_id) { if (mysqli_num_rows($sql_task_templates) > 0) { diff --git a/ticket_add_modal.php b/ticket_add_modal.php index e0a5ec4f..f85bc32d 100644 --- a/ticket_add_modal.php +++ b/ticket_add_modal.php @@ -20,19 +20,7 @@ Contact - - - - @@ -72,7 +60,7 @@
- +
@@ -89,13 +77,11 @@ -
-
- -
-
- - +
+
+ +
+
@@ -249,7 +235,7 @@
-
+
@@ -274,10 +260,6 @@
-
- -
-
@@ -300,61 +282,49 @@
-
+
+ +
-
+
+ +
+
+ +
+ +
-
-
-
- -
-
- +
+ +
+ +
+
+ +
+ +
- +
+
-
- -
- -
-
-
- -
- -
- -
-
-
- -
- -
-
diff --git a/ticket_edit_modal.php b/ticket_edit_modal.php index af217d6b..9e4f339a 100644 --- a/ticket_edit_modal.php +++ b/ticket_edit_modal.php @@ -23,16 +23,7 @@ Contact - - - @@ -163,7 +154,7 @@
-
+
@@ -190,10 +181,6 @@
-
- -
-
@@ -218,69 +205,74 @@
-
+
-
+
-
- -
-
- +
+ +
+
+ +
+ +
-
-
-
- -
-
- +
+ +
+ +
+
+ +
+ +
- +
+
-
-
- -
-
- -
- +
+ +
+
+
-
+ +