summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-04-26 20:57:01 +0000
committerDries Buytaert <dries@buytaert.net>2009-04-26 20:57:01 +0000
commitc7d8e2060acd75e29b381519d3a4231495d4cbf6 (patch)
tree8d8db550bb2f8e373f1c1f2afbf1fc7dd392e693 /modules
parent93688e77b1939c62d15a732be97b76dedc83ffa8 (diff)
downloadbrdo-c7d8e2060acd75e29b381519d3a4231495d4cbf6.tar.gz
brdo-c7d8e2060acd75e29b381519d3a4231495d4cbf6.tar.bz2
- Patch #445600 by Rob Loach: allow 1 minimum number of words in content types.
Diffstat (limited to 'modules')
-rw-r--r--modules/node/content_types.inc2
1 files changed, 1 insertions, 1 deletions
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(