diff --git a/uw_cfg_common.module b/uw_cfg_common.module index ef6352e18870d28ff5e5b6a4dedb3eb4dbf9dd7a..706db74adc4d88aa0e0c89e1c51ecf1e5b94e9df 100644 --- a/uw_cfg_common.module +++ b/uw_cfg_common.module @@ -1228,8 +1228,8 @@ function _uw_cfg_common_blank_summaries_validation(array &$form, FormStateInterf $field_name = 'field_uw_' . $node_type . '_summary'; } - // If the blank summary is checked and the summary is null, - // then set an error. + // If the blank summary is not checked and the summary + // is null, then set an error. if (!$values['field_uw_blank_summary']['value']) { if ($values[$field_name][0]['value'] == '') { $form_state->setError($form[$field_name]['widget'][0], t('Summary/position field is required.'));