diff --git a/app/Controller/AttributesController.php b/app/Controller/AttributesController.php index 75a72bbbb..1c8490b15 100755 --- a/app/Controller/AttributesController.php +++ b/app/Controller/AttributesController.php @@ -356,6 +356,7 @@ class AttributesController extends AppController { 'category' => $this->request->data['Attribute']['category'], 'type' => $typeName, 'event_id' => $this->request->data['Attribute']['event_id'], + 'comment' => $this->request->data['Attribute']['comment'], 'to_ids' => 1, 'distribution' => $this->request->data['Attribute']['distribution'], 'sharing_group_id' => $this->request->data['Attribute']['sharing_group_id'], @@ -375,6 +376,7 @@ class AttributesController extends AppController { 'type' => 'attachment', 'event_id' => $this->request->data['Attribute']['event_id'], 'data' => base64_encode($tmpfile->read()), + 'comment' => $this->request->data['Attribute']['comment'], 'to_ids' => 0, 'distribution' => $this->request->data['Attribute']['distribution'], 'sharing_group_id' => $this->request->data['Attribute']['sharing_group_id'],