- Bugfix: comment subject where not always enabled by default because the default value of comment_subject_field varies.

4.5.x
Dries Buytaert 2004-09-11 13:45:23 +00:00
parent c054ce2c3f
commit 841d5a0cf8
2 changed files with 2 additions and 2 deletions

View File

@ -1409,7 +1409,7 @@ function theme_comment_form($edit, $title) {
}
// subject field:
if (variable_get('comment_subject_field', 0)) {
if (variable_get('comment_subject_field', 1)) {
$form .= form_textfield(t('Subject'), 'subject', $edit['subject'], 50, 64);
}

View File

@ -1409,7 +1409,7 @@ function theme_comment_form($edit, $title) {
}
// subject field:
if (variable_get('comment_subject_field', 0)) {
if (variable_get('comment_subject_field', 1)) {
$form .= form_textfield(t('Subject'), 'subject', $edit['subject'], 50, 64);
}