diff options
Diffstat (limited to 'modules/comment.module')
-rw-r--r-- | modules/comment.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment.module b/modules/comment.module index 740bc1131..4b1b0a640 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -458,7 +458,7 @@ function comment_validate_form($edit) { /* ** Validate filter format */ - if (!filter_access($edit['format'])) { + if (array_key_exists('format', $edit) && !filter_access($edit['format'])) { form_set_error('format', t('The supplied input format is invalid.')); } |