Init all required comment form fields
This commit is contained in:
@ -204,7 +204,7 @@ function serendipity_displayCommentForm($id, $url = '', $comments = NULL, $data
|
||||
'commentform_entry' => $entry
|
||||
);
|
||||
|
||||
if (! isset($commentform_data['required_fields'])) { $commentform_data['required_fields'] = ['name' => false, 'comment' => false]; }
|
||||
if (! isset($commentform_data['required_fields'])) { $commentform_data['required_fields'] = ['name' => false, 'comment' => false, 'email' => false, 'url' => false]; }
|
||||
|
||||
$serendipity['smarty']->assign($commentform_data);
|
||||
|
||||
|
Reference in New Issue
Block a user