Commit 366ec4e5 authored by TravisCarden's avatar TravisCarden

Follow-up to 1f54a150 by TravisCarden: Fixed double URL conversion.

parent 090dd7d5
......@@ -117,7 +117,7 @@ class ChecklistapiChecklistForm implements FormInterface {
$links = array();
foreach (Element::children($item) as $link_key) {
$link = &$item[$link_key];
$links[] = \Drupal::l($link['#text'], Url::fromUri($link['#url']));
$links[] = \Drupal::l($link['#text'], $link['#url']);
}
if (count($links)) {
$description .= '<div class="links">' . implode(' | ', $links) . '</div>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment