diff --git a/web/modules/custom/usagov_wizard/usagov_wizard.module b/web/modules/custom/usagov_wizard/usagov_wizard.module index 2993a182c5..cba970754c 100644 --- a/web/modules/custom/usagov_wizard/usagov_wizard.module +++ b/web/modules/custom/usagov_wizard/usagov_wizard.module @@ -426,8 +426,7 @@ function usagov_wizard_get_term_breadcrumb(Term $rootTerm): array { // Setting the language here assumes all the crumbs are pages from the same language // as the root term. if (!isset($crumb['url'])) { - $crumb['url'] = Url::fromUri($crumb['uri'], ['language' => $rootTerm->language()]) - ->toString(); + $crumb['url'] = Url::fromUri($crumb['uri'], ['language' => $rootTerm->language()])->toString(); } } if (isset($crumb['title'])) {