Skip to content

Commit e2c3bd0

Browse files
committed
add label to attachment container
1 parent 05f55a4 commit e2c3bd0

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

files/lib/system/form/builder/container/AttachmentFormContainer.class.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@ class AttachmentFormContainer extends FormContainer {
3434
*/
3535
protected $fieldId;
3636

37+
/**
38+
* @inheritDoc
39+
*/
40+
public function __construct() {
41+
parent::__construct();
42+
43+
$this->label('wcf.attachment.attachments');
44+
}
45+
3746
/**
3847
* Sets the attachment-related data used to create an `AttachmentHandler` object for the
3948
* attachment form field. If no attachment data is set, attachments are not supported.

0 commit comments

Comments
 (0)