- Patch #445600 by Rob Loach: allow 1 minimum number of words in content types.

merge-requests/26/head
Dries Buytaert 2009-04-26 20:57:01 +00:00
parent 93688e77b1
commit c7d8e2060a
1 changed files with 1 additions and 1 deletions

View File

@ -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(