diff --git a/project_issue.module b/project_issue.module index 59d9380..a460033 100644 --- a/project_issue.module +++ b/project_issue.module @@ -440,7 +440,7 @@ function project_issue_form_alter(&$form, &$form_state, $form_id) { // TODO: temporary hack until we decide how to deal with // editing attachments on issues overall. if (!empty($form['cid']['#value'])) { - unset($form['attachments']); + $form['attachments']['#access'] = FALSE; } } // Add our own custom validation to the comment form for issue nodes.