From 48df8f6675a24fa85f4071be00448c4eea03b3e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Mon, 19 Jan 2009 21:02:55 +0000
Subject: [PATCH] Fix for when description is not set. then use realm. and html
 fix

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

diff --git a/modules/ldapstatus/templates/default/ldapstatus.php b/modules/ldapstatus/templates/default/ldapstatus.php
index 4697dd080..6c3283135 100644
--- a/modules/ldapstatus/templates/default/ldapstatus.php
+++ b/modules/ldapstatus/templates/default/ldapstatus.php
@@ -57,7 +57,7 @@ foreach($this->data['sortedOrgIndex'] as $orgkey) {
 	if (array_key_exists('description', $this->data['orgconfig'][$orgkey])) {
 		echo('<td>' . htmlspecialchars($this->getTranslation($this->data['orgconfig'][$orgkey]['description'])) . '</td>');
 	} else {
-		echo('<span style="color: #b4b4b4; font-size: x-small">NA</span>');
+		echo('<td><span style="color: #b4b4b4; font-size: x-small">NA</span> <tt>' . $orgkey . '</tt></td>');
 	}
 #	echo('<td><tt>' . htmlspecialchars($orgkey) . '</tt></td>');
 	showRes('config',  $res, $this);
-- 
GitLab