Skip to content

Commit

Permalink
Fix custom group vbo action causing wsod error
Browse files Browse the repository at this point in the history
  • Loading branch information
hitesh-jain authored and robertragas committed Aug 22, 2024
1 parent 8037aac commit 7db749f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
/** @var \Drupal\Core\Url $url */
$url = $form_state->getRedirect();

if ($url->getRouteName() === 'views_bulk_operations.confirm') {
if ($url->isRouted() && $url->getRouteName() === 'views_bulk_operations.confirm') {
$parameters = $url->getRouteParameters();

if (
Expand Down

0 comments on commit 7db749f

Please sign in to comment.