From 448b85d4915b49bd8e397ec743cf8eed808bc0b8 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Wed, 2 Jul 2008 13:01:58 +0000
Subject: [PATCH] Status-template: change to use $this->getTag(...) instead of
 $this->t(..., false).

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

diff --git a/templates/default/status.php b/templates/default/status.php
index 511e1f811..17d562a92 100644
--- a/templates/default/status.php
+++ b/templates/default/status.php
@@ -19,7 +19,7 @@
 		foreach ($attributes AS $name => $value) {
 			
 			$txtname = '<code style="color: blue">' . $name . '</code>';
-			if ($this->t('attribute_' . htmlspecialchars(strtolower($name)), false)) {
+			if ($this->getTag('attribute_' . htmlspecialchars(strtolower($name))) !== NULL) {
 				$txtname = $this->t('attribute_' . htmlspecialchars(strtolower($name))) . '<br /><code style="color: blue">' . $name . '</code>';
 			}
 			
-- 
GitLab