summaryrefslogtreecommitdiff
path: root/modules/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-03-31 21:18:08 +0000
committerDries Buytaert <dries@buytaert.net>2005-03-31 21:18:08 +0000
commit7bdcba172030b6c4aedf3e00514af1a857a04593 (patch)
tree752dcfa0080db649804125648993a7fa3174e50a /modules/node.module
parentbe14203534c5f09d0c70c2bf59b81b80f2a90b32 (diff)
downloadbrdo-7bdcba172030b6c4aedf3e00514af1a857a04593.tar.gz
brdo-7bdcba172030b6c4aedf3e00514af1a857a04593.tar.bz2
- Patch #19739 by Uwe: corrected many typo's in the documentation and code comments
Diffstat (limited to 'modules/node.module')
-rw-r--r--modules/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node.module b/modules/node.module
index adf40d94c..c69c1bc53 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -1204,7 +1204,7 @@ function node_validate($node) {
}
}
- // Make sure the body has the minimim number of words.
+ // Make sure the body has the minimum number of words.
// todo use a better word counting algorithm that will work in other languages
if (isset($node->body) && count(explode(' ', $node->body)) < variable_get('minimum_'. $node->type .'_size', 0)) {
form_set_error('body', t('The body of your %type is too short. You need at least %words words.', array('%words' => variable_get('minimum_'. $node->type .'_size', 0), '%type' => node_invoke($node->type, 'node_name'))));