1
0

Init all required comment form fields

This commit is contained in:
onli
2021-07-04 18:43:08 +02:00
parent 01aa046fc4
commit eb38547a24

View File

@ -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);