Skip to content
Snippets Groups Projects
Unverified Commit 27102013 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

bugfix: Add missing entityID to generated metadata in the admin interface.

parent 832a9720
No related branches found
No related tags found
No related merge requests found
......@@ -511,6 +511,7 @@ class FederationController
$metadata = $this->mdHandler->getMetaData($entityId, $set);
$t = new Template($this->config, 'admin:show_metadata.twig');
$t->data['entityid'] = $entityId;
$t->data['metadata'] = var_export($metadata, true);
return $t;
}
......
......@@ -9,7 +9,7 @@
title="{% trans %}Copy to clipboard{% endtrans %}"><span class="fa fa-copy"></span></a>
</div>
<div id="metadata" class="code-box-content php">
{#- #}$metadata[{{ entityid }}] => {{ metadata|escape }};{# -#}
{#- #}$metadata["{{ entityid }}"] => {{ metadata|escape }};{# -#}
</div>
</div>
<div class="center">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment