Skip to content

Commit 18e59e0

Browse files
committed
Bug: Embedded comment attachment field names had a missing character
1 parent 8aa286d commit 18e59e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Controllers/TicketsController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,8 +1503,8 @@ public function add_embedded_comments($permission_level, $request, $ticket, $a_r
15031503
// Specify form fields
15041504
$info['attachments_prefix'] = 'comment_' . $i . '_';
15051505
$info['attachments_field'] = 'comment_' . $i . '_attachments';
1506-
$info['attachment_filenames_field'] = 'comment_' . $i . 'attachment_new_filenames';
1507-
$info['attachment_descriptions_field'] = 'comment_' . $i . 'attachment_descriptions';
1506+
$info['attachment_filenames_field'] = 'comment_' . $i . '_attachment_new_filenames';
1507+
$info['attachment_descriptions_field'] = 'comment_' . $i . '_attachment_descriptions';
15081508

15091509
// Process attachments
15101510
$a_result_errors = $this->saveAttachments($info);

0 commit comments

Comments
 (0)