From dbd7d9adcd63b26c19f4ef227a8388882104eabf Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Fri, 26 Mar 2010 14:06:38 +0000
Subject: [PATCH] metaedit: Fix display of endpoints.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2242 44740490-163a-0410-bde0-09ae8108e29a
---
 modules/metaedit/lib/MetaEditor.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/metaedit/lib/MetaEditor.php b/modules/metaedit/lib/MetaEditor.php
index 0d8335853..bd5699a60 100644
--- a/modules/metaedit/lib/MetaEditor.php
+++ b/modules/metaedit/lib/MetaEditor.php
@@ -127,7 +127,7 @@ class sspmod_metaedit_MetaEditor {
 		$value = '';
 		if (array_key_exists($key, $metadata)) {
 			if (is_array($metadata[$key])) {
-				$value = htmlspecialchars($metadata[$key]['Location']);	
+				$value = htmlspecialchars($metadata[$key][0]['Location']);
 			} else {
 				$value = htmlspecialchars($metadata[$key]);	
 			}
-- 
GitLab