From a28bfab3f7d05957a64cf0ce077e3a1be22d3dc7 Mon Sep 17 00:00:00 2001 From: Remy Blom <remy.blom@hku.nl> Date: Thu, 28 Nov 2019 14:45:43 +0100 Subject: [PATCH] core/show_metadata: changed => to = (#1247) The code generated: `$metadata['idp'] => array();` causing an error when I used this to copy the metadata and pasted it in the `metadata/saml20-idp-remote.php` file of another server. --- modules/core/templates/show_metadata.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/templates/show_metadata.tpl.php b/modules/core/templates/show_metadata.tpl.php index f217540c7..7117d2c55 100644 --- a/modules/core/templates/show_metadata.tpl.php +++ b/modules/core/templates/show_metadata.tpl.php @@ -7,7 +7,7 @@ $this->includeAtTemplateBase('includes/header.php'); alt="Copy to clipboard" /> </button> <pre id="metadata"> -$metadata['<?php echo $this->data['m']['metadata-index']; unset($this->data['m']['metadata-index']) ?>'] => <?php +$metadata['<?php echo $this->data['m']['metadata-index']; unset($this->data['m']['metadata-index']) ?>'] = <?php echo htmlspecialchars(var_export($this->data['m'], true)); ?> </pre> -- GitLab