2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
@@ -942,7 +942,7 @@ function comment_render($node, $cid = 0) {
/**
* Menu callback; delete a comment.
*/
functioncomment_delete($cid){
functioncomment_delete($cid=NULL){
$comment=db_fetch_object(db_query('SELECT c.*, u.name AS registered_name, u.uid FROM {comments} c INNER JOIN {users} u ON u.uid = c.uid WHERE c.cid = %d',$cid));