Skip to content
Snippets Groups Projects
Commit 12810fe3 authored by Andrew Berry's avatar Andrew Berry
Browse files

Fix unserializing page arguments.

parent 3a2ab9d5
Branches
Tags
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
......@@ -92,7 +92,7 @@ protected function convertDrupalItem($router_item) {
'_controller' => $router_item['page_callback']
);
// Place argument defaults on the route.
foreach ($router_item['page_arguments'] as $k => $v) {
foreach (unserialize($router_item['page_arguments']) as $k => $v) {
$route[$k] = $v;
}
return new Route($router_item['href'], $route);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment