From c7d8e2060acd75e29b381519d3a4231495d4cbf6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 26 Apr 2009 20:57:01 +0000 Subject: - Patch #445600 by Rob Loach: allow 1 minimum number of words in content types. --- modules/node/content_types.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc index b5cf9239b..56542ba7c 100644 --- a/modules/node/content_types.inc +++ b/modules/node/content_types.inc @@ -133,7 +133,7 @@ function node_type_form(&$form_state, $type = NULL) { '#type' => 'select', '#title' => t('Minimum number of words'), '#default_value' => $type->min_word_count, - '#options' => drupal_map_assoc(array(0, 10, 25, 50, 75, 100, 125, 150, 175, 200)), + '#options' => drupal_map_assoc(array(0, 1, 10, 25, 50, 75, 100, 125, 150, 175, 200)), '#description' => t('The minimum number of words for the body field to be considered valid for this content type. This can be useful to rule out submissions that do not meet the site\'s standards, such as short test posts.') ); $form['submission']['help'] = array( -- cgit v1.2.3