diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-02-14 19:17:00 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-02-14 19:17:00 +0000 |
commit | 7489c87476d6f4e4084ba7ed12938d6a648793ae (patch) | |
tree | 25c8d2c385253b5909f8bf938bd61192411060a3 /modules/comment | |
parent | 0ec174d59cf0d208bdbb41250f0e66c60481470e (diff) | |
download | brdo-7489c87476d6f4e4084ba7ed12938d6a648793ae.tar.gz brdo-7489c87476d6f4e4084ba7ed12938d6a648793ae.tar.bz2 |
- Patch #43572 by Tobias: don't accept spaces.
Diffstat (limited to 'modules/comment')
-rw-r--r-- | modules/comment/comment.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 13fedb752..50478287e 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1141,7 +1141,7 @@ function comment_validate($edit) { } // Validate the comment's body. - if ($edit['comment'] == '') { + if (trim($edit['comment']) == '') { form_set_error('comment', t('The body of your comment is empty.')); } |