diff --git a/core/modules/comment/lib/Drupal/comment/Controller/AdminController.php b/core/modules/comment/lib/Drupal/comment/Controller/AdminController.php index b8d5ee9..2671b05 100644 --- a/core/modules/comment/lib/Drupal/comment/Controller/AdminController.php +++ b/core/modules/comment/lib/Drupal/comment/Controller/AdminController.php @@ -239,7 +239,7 @@ public function bundleTitle($field_name) { * Then comment multiple delete confirmation form or the comments overview * administration form. */ - public function adminPage(Request $request, $type) { + public function adminPage(Request $request, $type = 'new') { $edit = $request->request->all(); if (isset($edit['operation']) && ($edit['operation'] == 'delete') && isset($edit['comments']) && $edit['comments']) {