--- comment_cck.module.original 2009-05-10 21:06:57.000000000 -0500 +++ comment_cck.module 2009-05-16 15:48:52.000000000 -0500 @@ -5,7 +5,7 @@ * Implementation of hook_perm(). */ function comment_cck_perm() { - return array('change cck fields through comments'); + return array('change cck fields through comments', 'comment not required to change cck fields'); } /** @@ -52,6 +52,11 @@ function comment_cck_form_alter(&$form, $form['comment_filter']['comment_cck']['#weight'] = 50; // Set the comment_cck fields to output in the correct format. $form['comment_filter']['comment_cck']['#tree'] = TRUE; + + // Remove requirement that a comment be entered to submit. + if ($form_id == 'comment_form' && user_access('comment not required to change cck fields')){ + $form['comment_filter']['comment']['#required'] = FALSE; + } } return; }